How debug long running command?
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 13 Sep 2010 12:29:03 +0300
changeset 528 8d0e582bca90
parent 527 0bb22c624d14
child 529 914e27e39af9
child 543 8a468c5f98ca
How debug long running command?
emacs.rst
--- a/emacs.rst	Fri Sep 10 16:14:36 2010 +0300
+++ b/emacs.rst	Mon Sep 13 12:29:03 2010 +0300
@@ -45,6 +45,10 @@
 know about line numbers and files - it just knows an error happened, and
 that's it.
 
+** How debug long running command?
+
+M-x debug-on-quit RET' and then just hit `C-g' next time it gets 'stuck' somewhere.
+
 *** Check if bug in ini file.
 
 First run Emacs without loading anything: