diff options
author | Nick Roberts <nickrob@snap.net.nz> | 2005-01-18 01:01:29 +0000 |
---|---|---|
committer | Nick Roberts <nickrob@snap.net.nz> | 2005-01-18 01:01:29 +0000 |
commit | 8ef597fe7957953034c4a75abdcca3b5002c2d1b (patch) | |
tree | da19cc5940028f0c2eedbb13ab0836b6d7360797 /etc/DEBUG | |
parent | 6869a82445b6a8ffe0c67177a81f8c53dc6c5312 (diff) | |
download | emacs-8ef597fe7957953034c4a75abdcca3b5002c2d1b.tar.gz |
Suggest separate terminal for debug session.
Diffstat (limited to 'etc/DEBUG')
-rw-r--r-- | etc/DEBUG | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/DEBUG b/etc/DEBUG index abb49143a05..cbe79ee3ab6 100644 --- a/etc/DEBUG +++ b/etc/DEBUG @@ -62,6 +62,11 @@ use the set command until the inferior process has been started. Put a breakpoint early in `main', or suspend the Emacs, to get an opportunity to do the set command. +When Emacs is running in a terminal, it is useful to use a separate terminal +for the debug session. This can be done by starting Emacs as usual, then +attaching to it from gdb with the `attach' command which is explained in the +node "Attach" of the GDB manual. + ** Examining Lisp object values. When you have a live process to debug, and it has not encountered a @@ -115,7 +120,7 @@ called frame. First, use these commands: b set_frame_buffer_list r -q -Then when Emacs it hits the breakpoint: +Then Emacs hits the breakpoint: (gdb) p frame $1 = 139854428 |