Mercurial > emacs
comparison etc/DEBUG @ 80897:5ba6d7571941
Qualify using a separate terminal for debugging.
author | Nick Roberts <nickrob@snap.net.nz> |
---|---|
date | Sat, 12 May 2007 09:35:19 +0000 |
parents | 563a04f93ea0 |
children | b98604865ea0 d7172f202ab8 |
comparison
equal
deleted
inserted
replaced
80896:b28700641d1c | 80897:5ba6d7571941 |
---|---|
62 Typing Control-] will cause immediate stop. You cannot | 62 Typing Control-] will cause immediate stop. You cannot |
63 use the set command until the inferior process has been started. | 63 use the set command until the inferior process has been started. |
64 Put a breakpoint early in `main', or suspend the Emacs, | 64 Put a breakpoint early in `main', or suspend the Emacs, |
65 to get an opportunity to do the set command. | 65 to get an opportunity to do the set command. |
66 | 66 |
67 When Emacs is running in a terminal, it is useful to use a separate terminal | 67 When Emacs is running in a terminal, it is sometimes useful to use a separate |
68 for the debug session. This can be done by starting Emacs as usual, then | 68 terminal for the debug session. This can be done by starting Emacs as usual, |
69 attaching to it from gdb with the `attach' command which is explained in the | 69 then attaching to it from gdb with the `attach' command which is explained in |
70 node "Attach" of the GDB manual. | 70 the node "Attach" of the GDB manual. |
71 | 71 |
72 ** Examining Lisp object values. | 72 ** Examining Lisp object values. |
73 | 73 |
74 When you have a live process to debug, and it has not encountered a | 74 When you have a live process to debug, and it has not encountered a |
75 fatal error, you can use the GDB command `pr'. First print the value | 75 fatal error, you can use the GDB command `pr'. First print the value |