Step.SetBreakSettings
- Updated2025-07-21
- 1 minute(s) read
Step.SetBreakSettings
Syntax
Step.SetBreakSettings( isSet, enabled, passCount, Condition, [executionParam])
Purpose
Specifies if the step of the sequence is set to break.
Parameters
isSet As Boolean
[In] Specifies if the breakpoint is set.
enabled As Boolean
[In] Specifies if the breakpoint is enabled. TestStand ignores disabled breakpoints during execution.
passCount As Long
[In] Specifies the number of iterations the execution skips the breakpoint before suspending execution. Pass 0 if you do not want to use a conditional pass count.
Condition As String
[In] Specifies the expression that must evaluate to True before suspending the execution. An empty value defaults to True . If you specify a non-zero pass count value and a condition expression for the breakpoint, the pass count only decrements when the expression evaluates to True .
executionParam As Variant
[In] [ Optional ] Specifies a reference to an Execution object to update the breakpoint settings on a step, which apply to a particular execution. If there is no execution-specific breakpoint setting or if you do not pass an Execution object, the method sets the breakpoint setting on the step of the sequence file.
See Also
Sequence.GetBreakOnEndSettings