diff options
| author | Kim F. Storm | 2004-10-04 13:37:01 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2004-10-04 13:37:01 +0000 |
| commit | 1ce9f40ad4ecdb669c8c57a6cf3994e7fa9b0474 (patch) | |
| tree | 8ff9a39ca4c1869b9630d21abbc731454ccd0df1 /etc/DEBUG | |
| parent | 6c5d0c5224d10720ec3039bf7b4bbe3254d7b228 (diff) | |
| download | emacs-1ce9f40ad4ecdb669c8c57a6cf3994e7fa9b0474.tar.gz emacs-1ce9f40ad4ecdb669c8c57a6cf3994e7fa9b0474.zip | |
Mention pp and ff commands.
Diffstat (limited to 'etc/DEBUG')
| -rw-r--r-- | etc/DEBUG | 11 |
1 files changed, 8 insertions, 3 deletions
| @@ -69,9 +69,11 @@ fatal error, you can use the GDB command `pr'. First print the value | |||
| 69 | in the ordinary way, with the `p' command. Then type `pr' with no | 69 | in the ordinary way, with the `p' command. Then type `pr' with no |
| 70 | arguments. This calls a subroutine which uses the Lisp printer. | 70 | arguments. This calls a subroutine which uses the Lisp printer. |
| 71 | 71 | ||
| 72 | Note: It is not a good idea to try `pr' if you know that Emacs is in | 72 | You can also use `pp value' to print the emacs value directly. |
| 73 | deep trouble: its stack smashed (e.g., if it encountered SIGSEGV due | 73 | |
| 74 | to stack overflow), or crucial data structures, such as `obarray', | 74 | Note: It is not a good idea to try `pr' or `pp' if you know that Emacs |
| 75 | is in deep trouble: its stack smashed (e.g., if it encountered SIGSEGV | ||
| 76 | due to stack overflow), or crucial data structures, such as `obarray', | ||
| 75 | corrupted, etc. In such cases, the Emacs subroutine called by `pr' | 77 | corrupted, etc. In such cases, the Emacs subroutine called by `pr' |
| 76 | might make more damage, like overwrite some data that is important for | 78 | might make more damage, like overwrite some data that is important for |
| 77 | debugging the original problem. | 79 | debugging the original problem. |
| @@ -442,6 +444,9 @@ Several more functions for debugging display code are available in | |||
| 442 | Emacs compiled with GLYPH_DEBUG defined; type "C-h f dump- TAB" and | 444 | Emacs compiled with GLYPH_DEBUG defined; type "C-h f dump- TAB" and |
| 443 | "C-h f trace- TAB" to see the full list. | 445 | "C-h f trace- TAB" to see the full list. |
| 444 | 446 | ||
| 447 | When you debug display problems running emacs under X, you can use | ||
| 448 | the `ff' command to flush all pending display updates to the screen. | ||
| 449 | |||
| 445 | 450 | ||
| 446 | ** Debugging LessTif | 451 | ** Debugging LessTif |
| 447 | 452 | ||