You copied the Doc URL to your clipboard.


Sets a stop condition for a specific breakpoint or watchpoint. If the value of a specific expression evaluates to true then the debugger stops the target otherwise execution resumes.


condition number [expression]



Specifies the breakpoint or watchpoint number. This is the number assigned by the debugger when it is set. You can use info breakpoints to display the number and status of all breakpoints and watchpoints.


Specifies an expression that is evaluated when the breakpoint or watchpoint is hit. If no expression is specified then the breakpoint or watchpoint condition is deleted.

Example 1-21 Examples

condition 1 myVar<5       # Set break condition myVar<5 for breakpoint number 1