Setting a Java Breakpoint

  1. In the Source Editor, place the insertion point on the element of code on which you want to set a breakpoint. For example, if you want to set a breakpoint on a class, place the insertion point on the class declaration.
  2. Choose Debug and choose New Breakpoint (Ctrl-Shift-F8).
  3. Set the options in the New Breakpoint dialog. For information on different breakpoint options, see the following topics:
Tip You can set a simple line breakpoint by clicking the left margin of the line in the Source Editor or pressing Shift-F8.
See Also
Setting a Condition on a Breakpoint
Printing a Breakpoint Message

Legal Notices