A conditional breakpoint pauses the execution of your program when
a specified condition evaluates to true. You can set conditional breakpoints
if you are running the
(JPDA).
To set a conditional breakpoint:
From the main menu, choose Debug New Breakpoint (Ctrl-Alt-F8).
In the Add Breakpoint dialog box, select the breakpoint type from
the combo box and enter its settings (such as class name or line
number).
In the Condition text field, type the condition under which
the breakpoint should be evaluated.
This condition must be an expression that evaluates to true.
For example, to stop at a breakpoint when x == 75, type x == 75
in the text field.
Click OK.
The breakpoint is added to the list in the Breakpoints pane of the
Debugger window.