Java Reference
In-Depth Information
Making a Conditional Breakpoint
Another common need is to make a breakpoint conditional:, such that it only triggers when a variable
has a particular value. You can check the values of multiple variables, too.
To set a conditional breakpoint
1.
Right-click the breakpoint you want to be conditional.
2.
Choose Breakpoint Properties. The Properties window for your breakpoint
appears (Figure 11-7).
Figure 11-7. Breakpoint Properties window:
3.
Set the Enable Condition checkbox.
Search WWH ::




Custom Search