www.delorie.com/gnu/docs/emacs-lisp-intro/emacs-lisp-intro_249.html   search  
Buy the book!

Programming in Emacs Lisp

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

17. Debugging

GNU Emacs has two debuggers, debug and edebug. The first is built into the internals of Emacs and is always with you; the second requires that you instrument a function before you can use it.

Both debuggers are described extensively in section `Debugging Lisp Programs' in The GNU Emacs Lisp Reference Manual. In this chapter, I will walk through a short example of each.

17.1 debug  How to use the built-in debugger.
17.2 debug-on-entry  Start debugging when you call a function.
17.3 debug-on-quit and (debug)  Start debugging when you quit with C-g.
17.4 The edebug Source Level Debugger  How to use Edebug, a source level debugger.
17.5 Debugging Exercises  

  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003