Using TestStand API to Dynamically Disable Breakpoints

Updated Oct 17, 2018

Reported In


  • TestStand

Issue Details

I would like to know how to modify breakpoints programmatically in TestStand. Can this be done?


You can use the TestStand API to enable and disable all breakpoints in a test station. You can either use the ActiveX/COM step in your sequence or a Statement step.

With the ActiveX/COM step, use the following configuration:

With the Statement step, you can input the following into the expression box: RunState.Engine.StationOptions.BreakpointsEnabled. You can set this expression to either True or False depending on whether you would like your breakpoints enabled or disabled, respectively. The breakpoints will not be deleted, but TestStand will indicate that they are disabled by turning the breakpoint icons clear.


Not Helpful