CHAPTER 11 ■ DEBUGGING WITH ECLIPSE
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
- Right-click the breakpoint you want to be conditional.
- Choose BBreakpoint Properties. The Properties window for your breakpoint
appears (Figure 11-7).
Figure 11-7. Breakpoint Properties window:
- Set the EEnable Condition checkbox.