Setting a Class Breakpoint
The following instructions are specific to the Java 2 debugger.
To set a breakpoint on a class:
- From the main menu, choose Debug
New Breakpoint (Ctrl-Shift-F8).
- If your version of the New Breakpoint dialog box includes the Debugger combo box, set the value to Java.
- Set the Breakpoint Type to Class.
- 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.
- Specify the actions to take when the breakpoint is triggered:
-
Suspend Debugging. If selected, all threads in the debugged program are temporarily stopped.
- Print Text. If selected, the specified message is printed in the Debugger Console view of the Output window. For information on the tags you can include in the message, see Printing a Breakpoint Message.
- Click OK.
The breakpoint is added to the Breakpoints view of the
Debugger window.
Legal Notices