(debugger-step-through): Make sure that stepping into the debugger's

code is not possible.
(debugger-jumping-flag): Docstring update.
This commit is contained in:
Lute Kamstra 2005-03-08 20:15:57 +00:00
parent 41d4eedca4
commit 9b54d4534e
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2005-03-08 Lute Kamstra <lute@gnu.org>
* emacs-lisp/debug.el (debugger-step-through): Make sure that
stepping into the debugger's code is not possible.
(debugger-jumping-flag): Docstring update.
2005-03-08 Jay Belanger <belanger@truman.edu>
* calc/calc-embed.el (calc-do-embedded): Reset mode line when

View file

@ -94,7 +94,8 @@ This is to optimize `debugger-make-xrefs'.")
(defvar debugger-jumping-flag nil
"Non-nil means that debug-on-entry is disabled.
This variable is used by `debugger-jump' and `debugger-reenable'.")
This variable is used by `debugger-jump', `debugger-step-through',
and `debugger-reenable' to temporarily disable debug-on-entry.")
;; When you change this, you may also need to change the number of
;; frames that the debugger skips.
@ -384,6 +385,8 @@ That buffer should be current already."
Enter another debugger on next entry to eval, apply or funcall."
(interactive)
(setq debugger-step-after-exit t)
(setq debugger-jumping-flag t)
(add-hook 'post-command-hook 'debugger-reenable)
(message "Proceeding, will debug on next eval or call.")
(exit-recursive-edit))