SPP — Online Help v26.10.28.0 ← Back to SPP

Debugging scripts

SPP includes a full script debugger, so adapting a configuration to a new machine is a normal debugging session rather than trial and error.

Commands
F9Run
Compile and execute the script from the beginning.
Ctrl+F9Compile
Compile the script without running it.
F5Set Breakpoint
Toggle a breakpoint on the current editor line.
F8Step Over
Run the current line and move on without entering called functions.
F7Step Into
Run the current line, entering any function it calls.
F2Pause
Pause execution.
Ctrl+F2Reset
Stop debugging and reset the script.
Variables watch tree

When the script stops on a breakpoint, the watch tree in the Script panel fills in with the live post-processor state, organised as:

In short: tool position, active codes, the active cycle and the machine kinematics are all visible in the watch tree the moment execution pauses.