Function: debugger-frame
debugger-frame is an interactive and byte-compiled function defined in
debug.el.gz.
Signature
(debugger-frame)
Documentation
Request entry to debugger when this frame exits.
Applies to the frame whose line point is on in the backtrace.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/debug.el.gz
(defun debugger-frame ()
"Request entry to debugger when this frame exits.
Applies to the frame whose line point is on in the backtrace."
(interactive)
(backtrace-debug (debugger-frame-number) t (debugger--backtrace-base))
(setf
(cl-getf (backtrace-frame-flags (nth (backtrace-get-index) backtrace-frames))
:debug-on-exit)
t)
(backtrace-update-flags))