Function: debugger--backtrace-base

debugger--backtrace-base is a byte-compiled function defined in debug.el.gz.

Signature

(debugger--backtrace-base)

Documentation

Return the function name that marks the top of the backtrace.

See backtrace-frame.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/debug.el.gz
(defun debugger--backtrace-base ()
  "Return the function name that marks the top of the backtrace.
See `backtrace-frame'."
  (cond ((eq 'debug--implement-debug-on-entry
	     (cadr (backtrace-frame 1 'debug)))
	 'debug--implement-debug-on-entry)
	(t 'debug)))