Introduction to Breakpoints

A breakpoint is a location in your program where you want the program to stop executing. You can set and clear breakpoints in either the Source Editor, the Breakpoints tab, or the Classes tab.

In the Source Editor, you can set or clear a breakpoint in a line of code.

In the Breakpoints tab, you can set or clear a breakpoint in a line of code or in a method. In this tab, you can also view all breakpoints set in your program.

In the Classes tab, you can set and clear a breakpoint in an individual method or in each method belonging to a specified class.

The Java WorkShop supports "persistent" breakpoints. The breakpoints remain in the proper line of code even when your program changes.

You can set a breakpoint while your program is running. The program runs to the breakpoint and stops.


See also:

Setting a Breakpoint in a Line
Setting a Breakpoint in a Method
Setting a Breakpoint in a Class
Running to a Specific Location