Conditional watchpoints

You can specify that the watchpoint is conditional, using a Boolean expression to determine whether to stop execution of the program when the variable value has changed.

Each time the value of the watched variable changes (and the BOOLEAN expression, if used, is TRUE), the program will stop, and the variable values will be displayed Watchpoints view.

In the Condition column of the Watchpoints view, enter the condition or press the ... button to open the Edit Expression dialog.

Or, you can enter the watch Debugger instruction and condition in the Commands view.
watch expression boolean-expression
Example:
watch i if i > 3