# HG changeset patch # User Kim F. Storm # Date 1096897021 0 # Node ID 7e6072c66e67d7aa17e65e4ab5fc6d686a51d1bc # Parent aca7edaa93d4450079caa627cbb09de977d6f697 Mention pp and ff commands. diff -r aca7edaa93d4 -r 7e6072c66e67 etc/DEBUG --- a/etc/DEBUG Mon Oct 04 13:34:59 2004 +0000 +++ b/etc/DEBUG Mon Oct 04 13:37:01 2004 +0000 @@ -69,9 +69,11 @@ in the ordinary way, with the `p' command. Then type `pr' with no arguments. This calls a subroutine which uses the Lisp printer. -Note: It is not a good idea to try `pr' if you know that Emacs is in -deep trouble: its stack smashed (e.g., if it encountered SIGSEGV due -to stack overflow), or crucial data structures, such as `obarray', +You can also use `pp value' to print the emacs value directly. + +Note: It is not a good idea to try `pr' or `pp' if you know that Emacs +is in deep trouble: its stack smashed (e.g., if it encountered SIGSEGV +due to stack overflow), or crucial data structures, such as `obarray', corrupted, etc. In such cases, the Emacs subroutine called by `pr' might make more damage, like overwrite some data that is important for debugging the original problem. @@ -442,6 +444,9 @@ Emacs compiled with GLYPH_DEBUG defined; type "C-h f dump- TAB" and "C-h f trace- TAB" to see the full list. +When you debug display problems running emacs under X, you can use +the `ff' command to flush all pending display updates to the screen. + ** Debugging LessTif