The New Breakpoint dialog box opens when you choose the New Breakpoint command from the Debug menu or click the New Breakpoint button in the Breakpoints window. With this dialog box, you can create a new breakpoint of any type, such as function, file, address, or data.
This dialog box contains four tabs, each of which contains controls for setting a specific type of breakpoint. The following table shows the tabs in the New Breakpoint dialog box.
Below the tabs, you will see the following buttons:
- Condition
- By default, execution of your program breaks every time the breakpoint is hit. If you click this button, you can specify a condition that will be tested each time the breakpoint is hit. If the condition is satisfied, your program breaks; otherwise, execution continues. For more information, see Condition.
- Hit Count
- By default, execution of your program breaks every time the breakpoint is hit. Click this button if you want execution to break on a specified hit count instead. For more information, see Hit Count.
See Also
Using the Breakpoints Window | Inserting a New Breakpoint from the Debug Menu | Breakpoints | Breakpoint Operations in a Source Window