Visual Studio
New Breakpoint Dialog Box

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.

To See
Set a breakpoint on a function at the beginning of the function or at an offset from the beginning Function, New Breakpoint Dialog Box
Set a breakpoint at a specific location within a specified file File, New Breakpoint Dialog Box
Set a breakpoint at a specific memory location Address, New Breakpoint Dialog Box
Set a breakpoint on a variable Data, 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

Page view tracker