The Breakpoints window manages the list of currently set breakpoints on the solution. Using the Breakpoints window, you can:

Breakpoints are stored in the session file, so they will be remembered each time you work on a particular project. When running in the debugger, you can set breakpoints on assembly code addresses. These low-level breakpoints appear in the Breakpoints window for the duration of the debug run but are not saved when you stop debugging.

When a breakpoint is reached, the matching breakpoint is highlighted in the Breakpoints window.

Breakpoints window layout

The Breakpoints window has a toolbar and a main breakpoint display.

Button Description
Create a new breakpoint using the New Breakpoint dialog.
Toggle the selected breakpoint between enabled and disabled states.
Remove the selected breakpoint.
Move the insertion point to the statement where the selected breakpoint is set.
Delete all breakpoints.
Disable all breakpoints.
Enable all breakpoints.
Create a new breakpoint group and makes it active.

The main part of the Breakpoints window shows what breakpoints are set and the state they are in. You can organize breakpoints into folders, called breakpoint groups.

CrossStudio displays these icons to the left of each breakpoint:

Icon Description
Enabled breakpoint An enabled breakpoint will stop your program running when the breakpoint condition is met.
Disabled breakpoint A disabled breakpoint will not stop the program when execution passes through it.
Invalid breakpoint An invalid breakpoint is one where the breakpoint cannot be set; for example, no executable code is associated with the source code line where the breakpoint is set or the processor does not have enough hardware breakpoints.

Showing the Breakpoints window

To activate the Breakpoints window:

Managing single breakpoints

You can manage breakpoints in the Breakpoint window.

To delete a breakpoint:
To edit the properties of a breakpoint:

—or—

Breakpoint groups

Breakpoints are divided into breakpoint groups. You can use breakpoint groups to specify sets of breakpoints that are applicable to a particular project in the solution or for a particular debug scenario. Initially, there is a single breakpoint group, named Default, to which all new breakpoints are added.

To create a new breakpoint group:

—or—

—or—

In the New Breakpoint Group dialog, enter the name of the breakpoint group.

When you create a breakpoint, it is added to the active breakpoint group.

To make a group the active group:
To delete a breakpoint group:

You can enable all breakpoints within a group at once.

To enable all breakpoints in a group:

You can disable all breakpoints within a group at once.

To disable all breakpoints in a group:

Managing all breakpoints

You can delete, enable, or disable all breakpoints at once.

To delete all breakpoints:

—or—

To enable all breakpoints:

—or—

To disable all breakpoints:

—or—