25.2.2 Invoking the Stepper via a breakpoint
-
Compile and load the code in the system
demo
defined in the LispWorks library file
examples/tools/demo-defsys.lisp
-
Open the file
examples/tools/demo-utils.lisp
in an Editor and set a breakpoint at the call to
+
as described in Setting breakpoints.
-
Evaluate
(my-useful-function 42)
in a Listener.
-
A Stepper tool appears, with the current stepping position at the breakpoint.
-
You can now step this code, just as in standalone mode.
-
When you choose
Debug > Stepper > Continue
, or otherwise finish stepping,
my-useful-function
returns, the Stepper is hidden and the Listener tool becomes active again.
Common LispWorks User Guide (Windows version) - 5 Jul 2006