Setting Breakpoints

The IDE provides several options for setting You can stop execution of your program at 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 breakpoints in the Add Breakpoint dialog box, which you open from the Debug menu in the main window. The Breakpoints view in the Debugger window lists currently set breakpoints, showing the class name and the line number or method on which the breakpoint is set. Right-clicking a breakpoint displays a menu with items for viewing the source of the breakpoint and deleting the breakpoint. Right-clicking the Breakpoints node opens a menu that you can use to create a breakpoint, enable or disable all breakpoints in your program, and delete all breakpoints.

For instructions on setting a breakpoint, see:

Setting a Breakpoint on a Line
Setting a Breakpoint on a Method Name
Setting a Breakpoint on an Exception
Setting a Breakpoint on a Class
Setting a Breakpoint on a Thread
Setting a Breakpoint on a Variable
Viewing the Source for a Breakpoint
For instructions on removing a breakpoint, see:
Disabling a Breakpoint
Removing a Breakpoint

Legal Notices