Next: , Up: Debugging


5.21.1 Interactive Debugging

— Scheme Procedure: backtrace [highlights]
— C Function: scm_backtrace_with_highlights (highlights)
— C Function: scm_backtrace ()

Display a backtrace of the stack saved by the last error to the current output port. When highlights is given, it should be a list and all members of it are highligthed in the backtrace.

— Scheme Procedure: debug

Invoke the Guile debugger to explore the context of the last error.