diff options
Diffstat (limited to 'lisp/emacs-lisp/debug.el')
-rw-r--r-- | lisp/emacs-lisp/debug.el | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/lisp/emacs-lisp/debug.el b/lisp/emacs-lisp/debug.el index 8989aa07196..f711971c181 100644 --- a/lisp/emacs-lisp/debug.el +++ b/lisp/emacs-lisp/debug.el @@ -163,7 +163,10 @@ of the evaluator. You may call with no args, or you may pass nil as the first arg and any other args you like. In that case, the list of args after the -first will be printed into the backtrace buffer." +first will be printed into the backtrace buffer. + +If `inhibit-redisplay' is non-nil when this function is called, +the debugger will not be entered." (interactive) (cond (inhibit-redisplay @@ -585,12 +588,15 @@ The environment used is the one when entering the activation frame at point." (define-derived-mode debugger-mode backtrace-mode "Debugger" "Mode for debugging Emacs Lisp using a backtrace. \\<debugger-mode-map> -A line starts with `*' if exiting that frame will call the debugger. -Type \\[debugger-frame] or \\[debugger-frame-clear] to set or remove the `*'. - -When in debugger due to frame being exited, -use the \\[debugger-return-value] command to override the value -being returned from that frame. +A frame marked with `*' in the backtrace means that exiting that +frame will enter the debugger. You can flag frames to enter the +debugger when frame is exited with \\[debugger-frame], and remove +the flag with \\[debugger-frame-clear]. + +When in debugger invoked due to exiting a frame which was flagged +with a `*', you can use the \\[debugger-return-value] command to +override the value being returned from that frame when the debugger +exits. Use \\[debug-on-entry] and \\[cancel-debug-on-entry] to control which functions will enter the debugger when called. |