From: diewald@virrus.zko.dec.com (Jeff Diewald)
Subject: Re: Q: GNU emacs and decladebug
Date: 1995/05/31 [thread overview]
Message-ID: <3qhnm3$7gp$1@usenet.pa.dec.com> (raw)
In-Reply-To: PETTERI.95May30145830@halli.meridian.fi
In article <PETTERI.95May30145830@halli.meridian.fi>, petteri@halli.meridian.fi (Petteri Soikkonen) writes:
|>Hello,
|>
|>is there somewhere GNU Emacs mode for using decladebug
|>same way like with gdb or dbx?
|>
Petteri,
From the release notes for DECladebug 3.0.16:
2.1 Using DECladebug Within emacs
Within the emacs editing environment, you can control your debugger
process entirely through the emacs GUD (Grand Unified Debugger)
buffer, which is a variant of Shell mode. All the DECladebug
commands are available, and you can use the Shell mode history
commands to repeat them.
DECladebug Version 3.0.16 supports GNU Emacs Version 19.22 and above.
For each emacs session, before you can invoke DECladebug, you must
load the DECladebug-specific emacs lisp code, as follows:
M-x load-file /usr/opt/ladebug/emacs/lisp/decladebug.el
To start DECladebug within emacs and specify the name of the target
program you want to debug, enter:
M-x decladebug [target-program]
You can also place a load-file command in your emacs initialization
file.
Buffers:
When you start DECladebug, emacs displays the GUD (Grand Unified Debugger)
buffer in which the decladebug prompt is displayed. The GUD buffer
saves all of the commands you enter and the program output for you to
edit.
When you issue the DECladebug run command in the GUD buffer and hit a
breakpoint, emacs displays the source of your program in a second
buffer (source buffer) and indicates the current execution line with =>.
By default, emacs sets its current working directory to be the
directory containing the target program. DECladebug does not do this
when invoked directly, so you may need to change the source code
search path when using DECladebug from within emacs. To set an
alternate source code search path, enter the use command with a
directory argument. For example:
(decladebug) use usr/prog/test
All emacs editing functions and GUD key bindings are available,
including the following:
o You can execute a step command by entering the C-c C-s command in
the GUD buffer.
o You can select a line of code in the current source buffer and
enter a command to set a breakpoint at that position by
typing C-x SPC.
For more information on emacs functionality and key bindings, refer to
the emacs documentation.
-----------------------------------------------------------------------------
Jeff Diewald EASYNET: VIRRUS::DIEWALD
DECladebug group INTERNET: diewald@virrus.zko.dec.com
Digital Equipment Corp.
Note: I don't read every article in this group. If you have debugger
questions, I may be able to get you an answer. You're much more likely to
get an answer if you put "DECladebug" somewhere in your subject line.
next prev parent reply other threads:[~1995-05-31 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-05-30 4:00 Q: GNU emacs and decladebug Petteri Soikkonen
1995-05-30 4:00 ` Han Pilmeyer
1995-05-31 4:00 ` Jeff Diewald [this message]
1995-05-31 4:00 ` Tim Lucia
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox