# HG changeset patch # User Nick Roberts # Date 1106010089 0 # Node ID 1c3d052ef4bf0d4dc7549755ec7c868482d75838 # Parent 69ffba6567d6e9283f6a0afb0aa5183eb53fa055 Suggest separate terminal for debug session. diff -r 69ffba6567d6 -r 1c3d052ef4bf etc/DEBUG --- a/etc/DEBUG Tue Jan 18 01:00:41 2005 +0000 +++ b/etc/DEBUG Tue Jan 18 01:01:29 2005 +0000 @@ -62,6 +62,11 @@ 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 @@ b set_frame_buffer_list r -q -Then when Emacs it hits the breakpoint: +Then Emacs hits the breakpoint: (gdb) p frame $1 = 139854428