Setting Java Breakpoints

The IDE provides several options for setting Java breakpoints. You can set a breakpoint on a specific line number, method name, exception, class, thread, or variable. For breakpoints set on a variable, method, line, and exception, you can set a condition so that the breakpoint triggers when an expression evaluates to True.

You can set two actions to perform when a Java breakpoint is triggered. You can temporarily stop all threads in the debugging session and print a message in the Output window.

You set Java breakpoints and specify their conditions and actions in the New Breakpoint dialog box. You open this dialog box from the Debug menu.

For step-by-step instructions on setting a Java breakpoint, see:

Setting a Line Breakpoint
Setting a Method Breakpoint
Setting an Exception Breakpoint
Setting a Class Breakpoint
Setting a Thread Breakpoint
Setting a Variable Breakpoint

Setting a Condition on a Breakpoint
Printing a Breakpoint Message

Legal Notices