From: Lute Kamstra Date: Tue, 8 Mar 2005 20:15:57 +0000 (+0000) Subject: (debugger-step-through): Make sure that stepping into the debugger's X-Git-Tag: ttn-vms-21-2-B4~1876 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9b54d4534e0f8a14a077900d07786d9455b8e134;p=emacs.git (debugger-step-through): Make sure that stepping into the debugger's code is not possible. (debugger-jumping-flag): Docstring update. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9473a68ecaa..bceac3d7597 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2005-03-08 Lute Kamstra + + * 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 * calc/calc-embed.el (calc-do-embedded): Reset mode line when diff --git a/lisp/emacs-lisp/debug.el b/lisp/emacs-lisp/debug.el index 67836215da3..fc665cb973f 100644 --- a/lisp/emacs-lisp/debug.el +++ b/lisp/emacs-lisp/debug.el @@ -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))