All Manuals > LispWorks IDE User Guide > 24 The Stepper > 24.2 Simple examples

NextPrevUpTopContentsIndex

24.2.2 Invoking the Stepper via a breakpoint

  1. Compile and load the code in the system demo defined in the LispWorks library file examples/tools/demo-defsys.lisp
  2. Open the file examples/tools/demo-utils.lisp in an Editor and set a breakpoint at the call to + as described in Setting breakpoints.
  3. Evaluate (my-useful-function 42) in a Listener.
  4. A Stepper tool appears, with the current stepping position at the breakpoint.
  5. Figure 24.3 Stepper invoked by reaching a breakpoint

  6. You can now step this code, just as in standalone mode.
  7. When you choose Stepper > Continue , or otherwise finish stepping, my-useful-function returns, the Stepper is hidden and the Listener tool becomes active again.

LispWorks IDE User Guide (Macintosh version) - 25 Nov 2011

NextPrevUpTopContentsIndex