Java 7 for Absolute Beginners

(nextflipdebug5) #1

CHAPTER 11 ■ DEBUGGING WITH ECLIPSE



  1. In the text field below the checkbox, type the code for your condition. This is
    generally a single line of normal Java code, without the semicolon. For
    example, if you want to hit this breakpoint only when the value of currentStep
    is 15 or higher, set a condition as shown in Figure 11-8.


Figure 11-8. Breakpoint condition enabled and specified:


  1. Click OOK.

Free download pdf