Conditional Breakpoints
You can create an expression to apply to any breakpoint, both code and data. For example, you might want a breakpoint to trigger only if a variable has a certain value or is above a certain level.
To apply a condition to a breakpoint:
- Click the Breakpoint Properties tool in the toolbar.
The Breakpoint Properties dialog will open.
- Select the Conditional Breakpoint check box.
- Click OK.
A question mark will appear in the breakpoint symbol, and a field will open to allow you to enter an expression in the action window.
- Enter a valid expression in the field, such as Name == "AI20_1".
- Click OK to the right of the field.