Use the Properties for Breakpoint window to examine and modify a specific breakpoints properties. By setting certain options its possible to create both conditional and temporary breakpoints.
The pages available include:
Figure 1 - Properties for C/C++ breakpoint window
Property | Explanation |
---|---|
Class | Breakpoint class |
Type | Breakpoint type. Regular is the default software breakpoint type. |
File | The complete path and filename of the file where the breakpoint is located. |
Line number | The breakpoints line number in the file. |
Enabled | Indicates the current status of the breakpoint. When checkmarked, the breakpoint stops program execution if its condition is met. When unchecked, the breakpoint is ignored during the debug session. |
Condition | The conditional expression associated with the item. This conditional expression must evaluate to true in order for the item to perform its specified action. If left blank, execution is suspended each time the breakpoint is hit. If a condition is entered,like n==10, execution only stops when the condition evaluates to true. |
Ignore count | Defines when a breakpoint should be ignored during a debug session. The default count 0 indicates that the breakpoint should suspend execution each time it is hit. A value of 1 defines this breakpoint as a temporary breakpoint, which should be ignored after the first time it is encountered. |