
7. Building SPEL+ Applications
Stepping through a program
There are three commands on the Run Menu that are used for stepping through code.
Step Into steps through each line and also steps into functions when a step is executed on a
Call statement.
Step Over steps through each line but when a Call statement is encountered, the function
in the statement is executed completely.
Walk executes lines until after the next motion command and then halts the task. It will
halt after the next output command if the Setup | Controller | Preferences Walk stops for
outputs checkbox is checked.
To step through code, you must either set a breakpoint and run until the breakpoint is
reached, or suspend a task from the Task Manager using the Halt button.
Viewing the Call Stack
Sometimes you may want to examine the call stack for the current task after you halt the
task from the task manager, or reach a break point.
To view the call stack, select Call Stack from the Run Menu. The Call Stack list will be
displayed, as shown below.
200 EPSON RC+ 5.0 (Ver.5.4) User's Guide Rev.4
Comentários a estes Manuais