author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Mon, 19 Jan 2009 16:58:58 +0200 | |
changeset 19 | 2230f25e0375 |
parent 18 | e35491992b62 |
child 20 | ccbb0c9257bb |
--- 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’.