Mercurial > emacs
comparison etc/DEBUG @ 49489:e0ff22ddc744
Added note about xmon.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Mon, 27 Jan 2003 19:59:08 +0000 |
parents | 927a6a3e6c8f |
children | 23a1cea22d13 |
comparison
equal
deleted
inserted
replaced
49488:da6abcaef15c | 49489:e0ff22ddc744 |
---|---|
303 happens is the one that generated the X protocol error. | 303 happens is the one that generated the X protocol error. |
304 | 304 |
305 - You should now look around this offending X call and try to figure | 305 - You should now look around this offending X call and try to figure |
306 out what is wrong with it. | 306 out what is wrong with it. |
307 | 307 |
308 ** If Emacs causes errors or memory leaks in your X server | |
309 | |
310 You can trace the traffic between Emacs and your X server with a tool | |
311 like xmon, available at ftp://ftp.x.org/contrib/devel_tools/. | |
312 | |
313 Xmon can be used to see exactly what Emacs sends when X protocol errors | |
314 happen. If Emacs causes the X server memory usage to increase you can | |
315 use xmon to see what items Emacs creates in the server (windows, | |
316 graphical contexts, pixmaps) and what items Emacs delete. If there | |
317 are consistently more creations than deletions, the type of item | |
318 and the activity you do when the items get created can give a hint where | |
319 to start debugging. | |
320 | |
308 ** If the symptom of the bug is that Emacs fails to respond | 321 ** If the symptom of the bug is that Emacs fails to respond |
309 | 322 |
310 Don't assume Emacs is `hung'--it may instead be in an infinite loop. | 323 Don't assume Emacs is `hung'--it may instead be in an infinite loop. |
311 To find out which, make the problem happen under GDB and stop Emacs | 324 To find out which, make the problem happen under GDB and stop Emacs |
312 once it is not responding. (If Emacs is using X Windows directly, you | 325 once it is not responding. (If Emacs is using X Windows directly, you |