Setting a Class Breakpoint

The following instructions are specific to the Java 2 debugger.

To set a breakpoint on a class:

  1. From the main menu, choose Debug and choose New Breakpoint (Ctrl-Shift-F8).
  2. If your version of the New Breakpoint dialog box includes the Debugger combo box, set the value to Java.
  3. Set the Breakpoint Type to Class.
  4. Specify the breakpoint settings. If these fields are already filled in, the information is based on the location of the insertion point in the Source Editor.
  5. Specify the actions to take when the breakpoint is triggered:
  6. Click OK.

    The breakpoint is added to the Breakpoints view of the Debugger window.

See also
Setting a Line Breakpoint
Setting a Method Breakpoint
Setting an Exception Breakpoint
Setting a Thread Breakpoint
Setting a Variable Breakpoint

Legal Notices