File: edebug.el.html
This minor mode allows programmers to step through Emacs Lisp source code while executing functions. You can also set breakpoints, trace (stopping at each expression), evaluate expressions as if outside Edebug, reevaluate and display a list of expressions, trap errors normally caught by debug, and display a debug style backtrace.
; Minimal Instructions
=====================
First evaluate a defun with C-M-x, then run the function. Step
through the code with SPC, mark breakpoints with b, go until a
breakpoint is reached with g, and quit execution with q. Use the
"?" command in edebug to describe other commands.
See the Emacs Lisp Reference Manual for more details.
If you wish to change the default edebug global command prefix, change:
(setq edebug-global-prefix "\\C-xX")
Edebug was written by
Daniel LaLiberte
GTE Labs
40 Sylvan Rd
Waltham, MA 02254
liberte@holonexus.org
Defined variables (47)
edebug--unwrap-cache | Hash-table containing the results of unwrapping cons cells. |
edebug-after-instrumentation-function | Function to run on code after instrumentation for debugging. |
edebug-all-defs | If non-nil, evaluating defining forms instruments for Edebug. |
edebug-all-forms | Non-nil means evaluation of all forms will instrument for Edebug. |
edebug-arrow-alist | Association list of arrows for each edebug mode. |
edebug-backtrace-frames | Stack frames of the current Edebug Backtrace buffer without instrumentation. |
edebug-backtrace-mode | Non-nil if Edebug-Backtrace mode is enabled. |
edebug-backtrace-mode-hook | Hook run after entering or leaving ‘edebug-backtrace-mode’. |
edebug-behavior-alist | Alist describing the runtime behavior of Edebug’s instrumented code. |
edebug-continue-kbd-macro | If non-nil, continue defining or executing any keyboard macro. |
edebug-dotted-spec | Set to t when matching after the dot in a dotted spec list. |
edebug-eval-macro-args | Non-nil means all macro call arguments may be evaluated. |
edebug-eval-mode-abbrev-table | Abbrev table for ‘edebug-eval-mode’. |
edebug-eval-mode-hook | Hook run after entering ‘edebug-eval-mode’. |
edebug-eval-mode-map | Keymap for Edebug Eval mode. Superset of Lisp Interaction mode. |
edebug-eval-mode-syntax-table | Syntax table for ‘edebug-eval-mode’. |
edebug-form-data | A list of entries associating symbols with buffer regions. |
edebug-global-break-condition | If non-nil, an expression to test for at every stop point. |
edebug-global-map | Global map of edebug commands, available from any buffer. |
edebug-global-prefix | Prefix key for global edebug commands, available from any buffer. |
edebug-inhibit-emacs-lisp-mode-bindings | If non-nil, inhibit Edebug bindings on the C-x C-a key. |
edebug-initial-mode | Initial execution mode for Edebug, if non-nil. |
edebug-initial-mode-alist | Association list between commands and the modes they set. |
edebug-instrumented-backtrace-frames | Stack frames of the current Edebug Backtrace buffer with instrumentation. |
edebug-lexical-macro-ctx | Alist mapping lexically scoped macro names to their debug spec. |
edebug-max-depth | Maximum recursion depth when instrumenting code. |
edebug-menu | Edebug menus. |
edebug-mode | Non-nil if Edebug mode is enabled. |
edebug-mode-hook | Hook run after entering or leaving ‘edebug-mode’. |
edebug-mode-menus | Menus for Edebug. |
edebug-new-definition-function | Function to call after Edebug wraps a new definition. |
edebug-on-error | Value bound to ‘debug-on-error’ while Edebug is active. |
edebug-on-quit | Value bound to ‘debug-on-quit’ while Edebug is active. |
edebug-print-circle | If non-nil, default value of ‘print-circle’ for printing results in Edebug. |
edebug-print-length | Maximum length of list to print before abbreviating, when in Edebug. |
edebug-print-level | Maximum depth of list nesting to print before abbreviating, when in Edebug. |
edebug-save-displayed-buffer-points | If non-nil, save and restore point in all displayed buffers. |
edebug-save-windows | If non-nil, Edebug saves and restores the window configuration. |
edebug-setup-hook | Functions to call before edebug is used. |
edebug-sit-for-seconds | Number of seconds to pause when execution mode is ‘trace’ or ‘continue’. |
edebug-sit-on-break | Whether or not to pause for ‘edebug-sit-for-seconds’ on reaching a break. |
edebug-test-coverage | If non-nil, Edebug tests coverage of all expressions debugged. |
edebug-trace | Non-nil means display a trace of function entry and exit. |
edebug-trace-buffer | Name of the buffer to put trace info in. |
edebug-unwrap-results | Non-nil if Edebug should unwrap results of expressions. |
global-edebug-map | Global map of edebug commands, available from any buffer. |
global-edebug-prefix | Prefix key for global edebug commands, available from any buffer. |
Defined functions (234)
Defined faces (2)
edebug-disabled-breakpoint | Face used to mark disabled breakpoints. |
edebug-enabled-breakpoint | Face used to mark enabled breakpoints. |