### Set and Delete Breakpoints from a Source Window

You can set and delete breakpoints from a Source window in the following ways:

- Toggle a breakpoint on or off for a line. There are three ways to do this:
  - Double-click on the prefix area for that line.
  - Highlight the line using either the up and down cursor keys or the mouse, then press the space bar.
  - Highlight the line, then select Breakpoints->Toggle at current line.
- From the prefix area, or while the pointer is over a function name, click on mouse button 2 [note] and select a breakpoint option from the popup menu.
- Open a Breakpoints List window, and set or delete the breakpoint from there
- Select a type of breakpoint from the Breakpoints menu, and enter the appropriate information.

Note: If you delete a breakpoint, you must recreate it if you want to use it again. If you plan to use a breakpoint again later, it is better to disable the breakpoint instead.

Open Other Debugger Windows
Enable and Disable Breakpoints