Next: Frame Selection, Up: Interactive Debugger
The backtrace
command, which can also be invoked as bt
or
where
, displays the call stack (aka backtrace) at the point where
the debugger was entered:
debug> bt In standard input: 36: 0* [make-string ... 36: 1* [* 4 ... 36: 2* [+ 3 #\s]
Print backtrace of all stack frames, or of the innermost count frames. With a negative argument, print the outermost -count frames. If the number of frames isn't explicitly given, the debug option
depth
determines the maximum number of frames printed.
The format of the displayed backtrace is the same as for the
backtrace
procedure — see Backtrace Format for details.