# Setting a Breakpoint in a Method

Use the Breakpoints window to set a breakpoint in a specified method.

To set a breakpoint in a specified method:

1. Open the Breakpoints window by choosing Debug -> Breakpoints.
2. Type a class name in the Class name box.
   For example, if you are setting a breakpoint in the class `Circle` in the Java package `mypkg.shapes`, type `mypkg.shapes.Circle`.
3. Type a method name in the Location box.
4. Click Set Breakpoint.
   JDE sets the breakpoint in the first bytecode of the specified method, and highlights the line containing the breakpoint in red. The breakpoint is also added to the list of currently active breakpoints in the Breakpoints window.

See also:

  Introduction to Breakpoints
  Setting a Breakpoint in a Line
  Setting a Conditional Breakpoint
  Setting a Counted Breakpoint
  Using the Breakpoints Window