# HG changeset patch # User Oleksandr Gavenko <gavenkoa@gmail.com> # Date 1232377138 -7200 # Node ID 2230f25e037552dd8bdf7023ac9cb2764303035d # Parent e35491992b6202b47ba5cb48731fb22d318f51d6 add about edebug. diff -r e35491992b62 -r 2230f25e0375 emacs.rst --- a/emacs.rst Mon Jan 19 16:56:49 2009 +0200 +++ b/emacs.rst Mon Jan 19 16:58:58 2009 +0200 @@ -24,3 +24,12 @@ * Try the CommandLine? switch --debug-init. * Shouldn’t (setq debug-on-error t) help? + +* Using edebug. + +The main entry point is ‘M-x edebug-defun’ (also on ‘C-u C-M-x’). Use it +instead of `C-x C-e’ or ‘C-M-x’ to evaluate a ‘defun’ and instrument it for +debugging. + +You can disable edebug on a function by evaluating the function again using +‘C-M-x’.