Variable: debugger

debugger is a variable defined in eval.c.

Value

debug

Documentation

Function to call to invoke debugger.

If due to frame exit, arguments are exit and the value being returned;
 this function's value will be returned instead of that.
If due to error, arguments are error and a list of arguments to signal. If due to apply or funcall entry, one argument, lambda. If due to eval entry, one argument, t. IF the desired entry point of the debugger is higher in the call stack, it can be specified with the keyword argument :backtrace-base, whose format should be the same as the BASE argument of backtrace-frame.

View in manual

Probably introduced at or before Emacs version 19.20.

Source Code

// Defined in /usr/src/emacs/src/eval.c
  DEFVAR_LISP ("debugger", Vdebugger,
	       doc: /* Function to call to invoke debugger.
If due to frame exit, arguments are `exit' and the value being returned;
 this function's value will be returned instead of that.
If due to error, arguments are `error' and a list of arguments to `signal'.
If due to `apply' or `funcall' entry, one argument, `lambda'.
If due to `eval' entry, one argument, t.
IF the desired entry point of the debugger is higher in the call stack,
it can be specified with the keyword argument `:backtrace-base', whose
format should be the same as the BASE argument of `backtrace-frame'.  */);