Dear Friend,
To specify a breakpoint condition:-
1). In the Breakpoints window, right-click the line that contains a breakpoint glyph, and then click Condition on the shortcut menu.
-or-
In a source, Disassembly, or Call Stack, right-click a line that contains a breakpoint glyph, and then click Condition from Breakpoints on the shortcut menu.
2). In the Breakpoint Condition dialog box, enter a valid expression in the Condition box, such as myLocalVariable > 1. For more information about valid expressions,
see Expressions in the Debugger.
[
^]
3). Choose Is true if you want to break when the expression is satisfied, or choose Has changed if you want to break when the value of the expression has changed.
Note
The debugger does not evaluate the expression until the first time the breakpoint is reached. If you choose Has changed for native code, the debugger does not consider the first evaluation of the condition to be a change, so the breakpoint will not be hit on the first evaluation of the expression. If you choose Has changed for managed code, the breakpoint is hit on the first evaluation after Has changed is selected.
Hope this will help you out.
Thanks