Chapter 4: Debugging
You can use the step macro on compiled functions only if their definitions have been retained. Function definitions are retained if the function is compiled with the variable *save-definitions* set to a true value. If the function was compiled with *save-definitions* set to nil, the value must be changed and the function must be recompiled before it can be stepped through.
The step macro is usually called only from the top level. You can invoke internal stepping through options to the trace macro.
It is not generally possible to step through code that requires the use of without-interrupts or code that uses the Macintosh graphics interface.
Figure 4-7 Stepping through the factorial function
Generated with Harlequin WebMaker