Using the Breakpoints Window

The Breakpoints Window lists all breakpoints currently set in your program and displays their properties. In the Breakpoints window, you can set (create) new breakpoints, delete breakpoints, enable or disable breakpoints, edit a breakpoint's properties, or find the source code corresponding to a breakpoint.

To display the Breakpoints window

Viewing Breakpoint Information

The Breakpoints window contains a list of all breakpoints currently set in your program. This list contains three columns of information by default. You can view additional information by adding more columns.

To display additional columns

To widen or narrow a column

To hide a column

To rearrange the order of the columns

Enabling/Disabling Breakpoints

A check box appears in the Name column next to each breakpoint. The state of this check box tells you whether the breakpoint is enabled or disabled.

To enable or disable a single breakpoint

Setting, Deleting, and Editing Breakpoints

To set a new breakpoint

  1. In the toolbar at the top of the Breakpoints window, choose the New Breakpoint icon.
  2. In the New Breakpoint Dialog Box, choose the type of breakpoint and the options you want.
  3. Click OK.

To delete a breakpoint

  1. In the Breakpoints window, click the breakpoint you want to delete.
  2. In the toolbar at the top of the window, choose the Delete tool.

To edit a breakpoint

  1. In the Breakpoints window, click the breakpoint you want to edit.
  2. In the toolbar at the top of the window, choose the Properties tool.
  3. In the Breakpoint Properties dialog box, choose the type of breakpoint and the options you want.
  4. Click OK.

Viewing The Location Of a Breakpoint

For breakpoints that are set on a source file location or memory address, you can view the breakpoint location in the source file.

To view the location of a breakpoint in the source code

  1. In the Breakpoints window, click the breakpoint you want to view.
  2. In the toolbar at the top of the window, choose the Go To Source Code tool.

    For breakpoints without locations, the Go To Source Code tool is disabled.