There are two ways to enter the Stepper tool:
(example-edit-file "tools/demo-defsys")
First, load this file to define the system. Then evaluate in the Listener:
(compile-system "demo" :load t)
Note: for another way to compile and load a system, see The System Browser.
my-function
is now highlighted orange, indicating that the next step is to call this function. Notice how the current stepping position is always highlighted orange.Figure 27.2 Stepper backtrace showing the next step
my-function
itself, but for the moment simply choose
Stepper > Step
again, which steps to the point where the function call returns. The
Backtrace
area shows the return value, 12, when you expand the status item.Note how the Step command always steps only inside the current form, and does not step into other functions.
demo
defined in the file
(example-edit-file "tools/demo-defsys")
(example-edit-file "tools/demo-utils")
in an Editor and set a breakpoint at the call to +
as described in Setting breakpoints.
(my-useful-function 42)
in a Listener.Figure 27.3 Stepper invoked by reaching a breakpoint
my-useful-function
returns, the Stepper is hidden and the Listener tool becomes active again.LispWorks IDE User Guide (Unix version) - 12 Feb 2015