08-10-2023 11:55 AM
At a TestStand step breakpoint I sometimes realize that the sequence is not going to work and I need to make a change.
Is there a way to go to cleanup from a breakpoint? I have an object that needs to be closed or my system is left in a bad state.
Solved! Go to Solution.
08-11-2023 12:20 AM
Since you are manually interacting with the Sequence Editor anyway, the easiest way is probably just to close the execuiton window (see below)
08-11-2023 12:29 PM
So closing the window this way runs cleanup?
08-14-2023 12:58 AM
@stephenb2 wrote:
So closing the window this way runs cleanup?
Kind of...
More precisely:
Terminating an execution always runs cleanup sections. So if you are using exactly this way, your cleanup sections will be executed
Side note: you might be wondering, why you don't see the tracing while terminating and if you're setting a breakpoint in a cleanup section won't show any effect while terminating. This is due to the following default settings:
08-18-2023 10:40 AM
Thanks for the suggestion. I can see that the cleanup steps get executed after termination with the station options for tracing set up this way.