| |||
| Home > DS-5 Debugger commands > DS-5 Debugger commands listed in alphabetical order > condition | |||
This command sets a break 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]
Where:
numberSpecifies 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.
expressionSpecifies an expression that is evaluated when the
breakpoint or watchpoint is hit. If no is
specified then the breakpoint or watchpoint condition is deleted.expression