Breakpoints Tab

Use the Breakpoints tab to set, clear, and list breakpoints in your program.

Breakpoint Scrolling List
Scrolling list that shows the breakpoints assigned in your program. Each entry includes the class name and line number in which the breakpoint is set.

Command Buttons

Clear--Deletes the breakpoint selected in the Breakpoint scrolling list and removes it from the source code.

Clear All--Deletes all breakpoints from the Breakpoint scrolling list and removes them from the source code.

Show Source--Shows the source line of the breakpoint you selected in the Breakpoint scrolling list. The Java WorkShop displays the source in the Source Editor.

Stop In Method Region
Region in which you can set a breakpoint in a method. Type a class name in the Class field and a method name in the Method field. For example, if you are setting a breakpoint in the class Circle in the Java package mypkg.shapes, type mypkg.shapes.Circle in the Class field. Clicking the Stop In button sets the breakpoint and adds it to the breakpoint scrolling list.

Stop At Line Region
Region in which you can set a breakpoint in a line of source code. Type a class name in the Class field and a source line number in the Line Number field. If the class is part of a package, type the full class name, including the package (for example, sun.jws.web.Paint). Clicking the Stop At button sets the breakpoint and adds it to the breakpoint scrolling list. You can also set this type of breakpoint using the Toggle Breakpoint control in the Source Editor.


See also:

Introduction to Breakpoints
Setting a Breakpoint in a Line
Setting a Breakpoint in a Method
Setting a Breakpoint in a Class