# Using the Breakpoints Window

Open the Breakpoints window by choosing Debug -> Breakpoints. You can use the Breakpoints window to do the following:

- Set a breakpoint in a method
- Set a breakpoint in a line
- Set a counted breakpoint
- Set a conditional breakpoint

## Breakpoints List

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

## Command Buttons

Clear.
  Removes the breakpoint selected in the Breakpoints list and removes it from the source code.
Clear All.
  Removes all breakpoints from the Breakpoints list and from the source code.

Show Source.
  Shows the source line of the breakpoint you selected in the Breakpoints list. JDE displays the source in the source editor.

Show Advanced.
  Displays advanced programming tools where you can define an expression on which you want the program to stop, or define the number of times to skip the breakpoint before stopping on the breakpoint.

Set Breakpoint.
  Sets a breakpoint in the code. You define the breakpoint using the class name and location boxes.

Close.
  Closes the breakpoints window.

## Text Boxes

Class name
  Type the name of the class on which you want to set a breakpoint.

Location
  Type the location on which you want to set a breakpoint. You can specify either the number of the line or the method on which to stop.

See also:

  Introduction to Breakpoints