how debug emacs
authorOleksandr Gavenko <gavenkoa@gmail.com>
Tue, 24 Feb 2009 14:30:40 +0200
changeset 44 735e016c8d30
parent 43 573572e9b2f8
child 45 f4a274ff919d
how debug emacs
emacs.rst
--- a/emacs.rst	Tue Feb 24 14:29:31 2009 +0200
+++ b/emacs.rst	Tue Feb 24 14:30:40 2009 +0200
@@ -1,6 +1,6 @@
 -*- mode: outline -*-
 
-* How debug?
+* How debug ini file?
 
 When your InitFile has a bug, or when you load external files that cause
 errors, the bug is often hard to find, because the Emacs Lisp reader does not
@@ -35,3 +35,10 @@
 
 You can disable edebug on a function by evaluating the function again using
 ‘C-M-x’.
+
+* How debug func?
+
+Use M-x debug-on-entry and M-x cancel-debug-on-entry to control
+which functions will enter the debugger when called.
+
+When next time that function called automatically loaded debug-mode.