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:

To set a conditional eventpoint

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

  4. Find the eventpoint that you want to associate with a conditional expression
  5. Double-click the Condition column in alignment with the eventpoint
  6. Enter an expression in the Condition text box
  7. 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.