aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/DEBUG9
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/DEBUG b/etc/DEBUG
index 032aeb4dcd5..c26f090cc3a 100644
--- a/etc/DEBUG
+++ b/etc/DEBUG
@@ -249,6 +249,15 @@ mode, where each Xlib call checks for errors before it returns. This
249mode is much slower, but when you get an error, you will see exactly 249mode is much slower, but when you get an error, you will see exactly
250which call really caused the error. 250which call really caused the error.
251 251
252You can start Emacs in a synchronous mode by invoking it with the -xrm
253option, like this:
254
255 emacs -rm "emacs.synchronous: true"
256
257Setting a breakpoint in the function `x_error_quitter' and looking at
258the backtrace when Emacs stops inside that function will show what
259code causes the X protocol errors.
260
252** If the symptom of the bug is that Emacs fails to respond 261** If the symptom of the bug is that Emacs fails to respond
253 262
254Don't assume Emacs is `hung'--it may instead be in an infinite loop. 263Don't assume Emacs is `hung'--it may instead be in an infinite loop.