Solution
To stop an active TestStand execution without using forced termination or Windows End Task, the execution flow can be controlled by modifying variables through the Watch View pane.
-
During TestStand execution, press the Break or keyboard shortcut <Ctrl-F9> to pause the process.
-
Open the Watch View pane in the bottom-right corner while the execution is paused, as expressions can only be added in this state.
If the Watch View pane is not visible, navigate to View >> Debug >> Watch View to launch the Watch View pane.
-
Locate the variable controlling the while loop condition (for example, a StationGlobals Boolean variable).
-
Manually modify the variable value:
-
Confirm the change in the Watch View.
-
Allow the execution to proceed; the loop will evaluate the updated condition and exit.
-
Verify that execution stops or transitions as expected.
This approach allows immediate intervention without requiring termination of the entire execution.