Setting a Thread Breakpoint

See Also

The following instructions are specific to the Java 2 debugger.

To set a breakpoint on a thread:

  1. From the main menu, choose Debug and choose New Breakpoint (Ctrl-Shift-F8).
  2. Set the Debugger combo box to Java.
  3. Set the Breakpoint Type to Thread.
  4. From the Set Breakpoint On combo box, choose when to trigger the breakpoint: when a thread starts, stops, or both.
  5. Specify the actions to take when the breakpoint is triggered:
  6. Click OK.

    The breakpoint is added to the Breakpoints window.

See Also
Setting a Line Breakpoint
Setting a Method Breakpoint
Setting an Exception Breakpoint
Setting a Class Breakpoint
Setting a Variable Breakpoint

Legal Notices