backtrace command, which can also be invoked as
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
depthdetermines the maximum number of frames printed.
The format of the displayed backtrace is the same as for the
display-backtrace procedure (see Examining the Stack).