edebug Source Level Debugger, Up: Debugging [Contents][Index]
count-words-examplefunction and then cause it to enter the built-in debugger when you call it. Run the command on a region containing two words. You will need to press d a remarkable number of times. On your system, is a hook called after the command finishes? (For information on hooks, see Command Loop Overview in The GNU Emacs Lisp Reference Manual.)
count-words-exampleinto the *scratch* buffer, instrument the function for Edebug, and walk through its execution. The function does not need to have a bug, although you can introduce one if you wish. If the function lacks a bug, the walk-through completes without problems.
global-edebug-prefixis usually C-x X, i.e., CTRL-x followed by an upper case X; use this prefix for commands made outside of the Edebug debugging buffer.)
edebug-bounce-point) command to see where in the region the
edebug-goto-here) command to jump to that location.
edebug-trace-mode) command to cause Edebug to walk through the function on its own; use an upper case T for