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.
The Breakpoints window has a toolbar and a main breakpoint display.
|Creates a new breakpoint using the New Breakpoint dialog.|
|Toggles the selected breakpoint between enabled and disabled states.|
|Removes the selected breakpoint.|
|Moves the cursor to the statement at which the selected breakpoint is set.|
|Deletes all breakpoints.|
|Disables all breakpoints.|
|Enables all breakpoints.|
|Creates a new breakpoint group and makes it active.|
The main part of the Breakpoints window shows what breakpoints have been 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:
|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.|
You can manage breakpoints in the Breakpoint window.
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.
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.
You can enable all breakpoints within a group at once.
You can disable all breakpoints within a group at once.
You can delete, enable, or disable all breakpoints at once.