3.1 About the Debugger

3.1.1 The Debugger evaluation environment

The Debugger provides a read-eval-print loop that is similar to the top-level read-eval-print loop. Any expression that is not a Debugger command is evaluated just as it would be at the top level but in the dynamic environment of the incomplete evaluation. In addition, for interpreted functions, any expression is evaluated in the lexical environment of the current function. Thus, you can continue programming within the Debugger without losing the current environment.

If an error is signaled while you are entering forms at the Debugger prompt, the Debugger is entered again. You can treat each recursive entry into the Debugger as a new Debugger level that allows you to examine the most recently interrupted evaluation and previous evaluations. Each time you enter the Debugger, it displays a new condition message and options to proceed. The Debugger also provides commands to return to previous Debugger levels or to the top level.


The User's Guide - 9 SEP 1996

Generated with Harlequin WebMaker