Function: tramp-backtrace
tramp-backtrace is a byte-compiled function defined in tramp.el.gz.
Signature
(tramp-backtrace &optional VEC-OR-PROC)
Documentation
Dump a backtrace into the debug buffer.
If VEC-OR-PROC is nil, the buffer *debug tramp* is used. This function is meant for debugging purposes.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
(defsubst tramp-backtrace (&optional vec-or-proc)
"Dump a backtrace into the debug buffer.
If VEC-OR-PROC is nil, the buffer *debug tramp* is used. This
function is meant for debugging purposes."
(when (>= tramp-verbose 10)
(if vec-or-proc
(tramp-message
vec-or-proc 10 "\n%s" (with-output-to-string (backtrace)))
(with-output-to-temp-buffer "*debug tramp*" (backtrace)))))