GNU Info

Info Node: (guile.info)Debugger User Interface

(guile.info)Debugger User Interface


Next: Concept Index Prev: Obtaining and Installing Guile Up: Top
Enter node , (file) or (file)node

Debugger User Interface
***********************

When debugging a program, programmers often find it helpful to examine
the program's internal status while it runs: the values of internal
variables, the choices made in `if' and `cond' statements, and so
forth.  Guile Scheme provides a debugging interface that programmers
can use to single-step through Scheme functions and examine symbol
bindings.  This is different from the Note: Debugging, which permits
programmers to debug the Guile interpreter itself.  Most programmers
will be more interested in debugging their own Scheme programs than the
interpreter which evaluates them.

[FIXME: should we include examples of traditional debuggers and explain
why they can't be used to debug interpreted Scheme or Lisp?]

Single-Step
Execute a program or function one step at a time.
Trace
Print a report each time a given function is called.
Backtrace
See a list of the statements that caused an error.
Stacks and Frames
Examine the state of an interrupted program.

automatically generated by info2www version 1.2.2.9