Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Q: GNU emacs and decladebug
@ 1995-05-30  4:00 Petteri Soikkonen
  1995-05-30  4:00 ` Han Pilmeyer
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Petteri Soikkonen @ 1995-05-30  4:00 UTC (permalink / raw)


Hello,

is there somewhere GNU Emacs mode for using decladebug 
same way like with gdb or dbx?

Regards, Petteri
--

-------------------------------------------------
| Petteri Soikkonen       Meridian Systems Oy   |
| PL 35 (Itatuulentie 1)  02101 ESPOO, FINLAND  |
| p. +358-0-469 0500      f. +358-0-469 0501    |
| E-Mail: petteri.soikkonen@meridian.fi	        |
-------------------------------------------------



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Q: GNU emacs and decladebug
  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
  1995-05-31  4:00 ` Tim Lucia
  2 siblings, 0 replies; 4+ messages in thread
From: Han Pilmeyer @ 1995-05-30  4:00 UTC (permalink / raw)


decladebug.el is in the LDBBASE subset ot the decladebug kit.

-- 
Han Pilmeyer, han@uto.dec.com, Phone: +31-30-83-2671, FAX: +31-30-83-2686
Digital Equipment B.V., Europalaan 44, 3526 KS Utrecht, The Netherlands
|         Answers are the easy part, questions raise the doubt   -JB          |
All opinions are those of the author, not of Digital Equipment!



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Q: GNU emacs and decladebug
  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
@ 1995-05-31  4:00 ` Tim Lucia
  2 siblings, 0 replies; 4+ messages in thread
From: Tim Lucia @ 1995-05-31  4:00 UTC (permalink / raw)



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?


Put the following line in your ~/.emacs file:

(load-file "/usr/opt/LDB406/emacs/lisp/decladebug.el")

Then, to start it, M-x decladebug

You will get a minibuffer like:

Run DECladebug like this: decladebug <type your arguments here>

And you're off and running.  There are limitations with the up and down
commands not moving the source window.  They have been fixed and will be
released with the next major release of DECladebug (December-ish).

You must have GNU Emacs 19.22 or higher.

Regards,
Tim

-- 
Timothy J. Lucia - DECladebug            Email:    mailto:lucia@zko.dec.com
Digital Equipment Corporation            Phone:           603.881.2615
110 Spitbrook Road ZKO2-3/K06            Fax:             603.881.0120
Nashua, NH  USA  03062-2698              I'd rather be fishing, thanks.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Q: GNU emacs and decladebug
  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
  1995-05-31  4:00 ` Tim Lucia
  2 siblings, 0 replies; 4+ messages in thread
From: Jeff Diewald @ 1995-05-31  4:00 UTC (permalink / raw)



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.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1995-05-31  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
1995-05-31  4:00 ` Tim Lucia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox