setBreakpointCondition
Syntax
<Path>.setBreakpointCondition(LineInBreakpointList:integer, Condition:string) → string |
The method setBreakpointCondition sets the Condition, which you would like to apply to the definition of the breakpoint of the EventController designated by <Path>.
Parameters
The parameter LineInBreakpointList of data type integer designates the line of the breakpoint in the breakpoint list.
The parameter Condition of data type string designates the condition of the breakpoint.
Before an event is released for execution, the Event Debugger checks the expression you entered as the parameter of data type string.
This expression may be a global variable (Variable), an attribute or a method that returns a boolean value. When the expression returns true, the Event Debugger stops the simulation.
Return Value
The return value has the data type string.
Example
print EventController.setBreakpointCondition(2,"@.length<100") |
Related Topic
Related Topics
Methods of the EventControllergetBreakpointCondition
getBreakpointReceiver
getBreakpointSender
getBreakpointStartTime
getBreakpointStopTime
getBreakpointTraceFile
getBreakpointType
getEventList
init (EventController)
reset (EventController)
setBreakpointReceiver
setBreakpointSender
setBreakpointStartTime
setBreakpointStopTime
setBreakpointTraceFile
setBreakpointType
start (EventController)
startWithoutAnimation
stop (EventController)