# HG changeset patch # User Oleksandr Gavenko # Date 1284370143 -10800 # Node ID 8d0e582bca90823baf0e00e6377755ff27c84df0 # Parent 0bb22c624d14e0f0b180135464575ed0f06d5f96 How debug long running command? diff -r 0bb22c624d14 -r 8d0e582bca90 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: