This documentation is archived and is not being maintained.

Breakpoint Condition Dialog Box

Visual Studio .NET 2003

The Breakpoint Condition dialog box opens when you select the Condition button from the New Breakpoint dialog box or the Breakpoint Properties dialog box.

The Breakpoint Condition dialog box allows you to attach a condition to a breakpoint or to remove or change a condition previously attached. The condition can be any valid expression accepted by the debugger. The evaluation of this expression determines whether program execution breaks when the breakpoint is hit.

To set or modify a breakpoint condition, use the following controls:

Condition check box
Use this check box to turn the condition on or off. The condition has no effect if this box is cleared (the condition is turned off).
Condition edit box
Type any valid expression in this box. For more information, see Expressions in the Debugger.
is true
If this button is selected, the debugger evaluates the condition by checking to see if the expression is true. If the expression is true, the condition is satisfied and program execution breaks.
has changed
If this button is selected, the debugger evaluates the condition by checking to see if the value of the expression has changed since the last time the breakpoint was hit. If the value has changed, the condition is satisfied and program execution breaks.

See Also

Condition | Specifying or Changing a Breakpoint Condition | Breakpoints | Visual Studio Debugger Model

Show: