Commit 8ef597fe authored by Nick Roberts's avatar Nick Roberts

Suggest separate terminal for debug session.

parent 6869a824
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment