## Setting a Conditional Eventpoint

Use the Condition column of the Breakpoints view to set a conditional eventpoint. A conditional eventpoint has an associated conditional expression. The debugger evaluates the expression to determine whether the eventpoint performs its specified action.

A conditional eventpoint behaves in two different ways:

- If the expression evaluates to true (a non-zero value), the eventpoint performs its specified action.
- If the expression evaluates to false (a zero value), the eventpoint does not perform its specified action.

#### To set a conditional eventpoint

1. Set an eventpoint that you want to associate with a conditional expression
2. Click Windows > Show View > Breakpoints

A Breakpoints view appears.

3. Find the eventpoint that you want to associate with a conditional expression
4. Double-click the Condition column in alignment with the eventpoint
5. Enter an expression in the Condition text box

During subsequent debugging sessions, the debugger evaluates the expression to determine whether the eventpoint performs its specified action.

NOTE Alternatively, drag-and-drop an expression from a source view or from the Expression view into the Breakpoints view.