When single stepping SeqZap will only execute one step at a time, this can be a very good way of verifying a script one step at a time to make sure that it does what is expected.
Single stepping can be initiated in one of three ways:
- The Single Step button is pressed in the Execution State view which will start execution and pause it immediately before the first step is executed.
- The Pause button is pressed in the Execution State view which means that execution will pause after the current step has finished executing.
- Just before a step with a breakpoint is executed.
When
The execution state view is the best way of finding out what the current execution is doing it. SeqZap shows a lot of information about the current execution in the Execution State view, for instance when a delay is executed the passing of time is shown in the Execution State view.
When single stepping, the Execution State view is used to control and inspect the current exectution.
- The Continue button makes SeqZap resume normal execution of the script.
- The Stop button makes SeqZap stop the execution of the script.
- The Single Step button executes the current step, and pauses execution after it is done.
- If the “Show Stack” checkbox is toggle, the called procedures are shown in the call stack at the bottom of the Execution State view.
- Steps on the call stack are marked with a green “recycle” arrow in the margin of the step.
- The current step at the top of the call stack is marked with a yellow arrow in the margin of the step.