Function: backtrace

backtrace is an autoloaded and byte-compiled function defined in backtrace.el.gz.

Signature

(backtrace)

Documentation

Print a trace of Lisp function calls currently active.

Output stream used is value of standard-output.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/backtrace.el.gz
;;; Backtrace printing

;;;###autoload
(defun backtrace ()
  "Print a trace of Lisp function calls currently active.
Output stream used is value of `standard-output'."
  (princ (backtrace-to-string (backtrace-get-frames 'backtrace)))
  nil)