1.3.18 condition

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
Non-ConfidentialPDF file icon PDF versionARM DUI0452Z
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.