Function: debugger-trap

debugger-trap is an interactive function defined in eval.c.

Signature

(debugger-trap)

Documentation

Stop Emacs and hand over control to GDB.

The Emacs source file src/.gdbinit sets a breakpoint in this function.

This function does nothing. It is not called by Emacs otherwise, and exists so that calling it or invoking it interactively will cause GDB to kick in.

For Lisp debugging see debug, as well as edebug, in the manual:
"(elisp) Debugging".

Key Bindings

Source Code

// Defined in /usr/src/emacs/src/eval.c
{
  return Qnil;
}