How to: Set a Simple Breakpoint
This topic applies to:
Pro, Premium, and Ultimate
The Visual Studio debugger provides many ways to set breakpoints. This topic gives two quick ways to set simple breakpoints.
For other ways to set breakpoints, see the following topics:
For ways to set advanced features on a breakpoint, see the following topics:
The dialog boxes and menu commands you see might differ from those described in Help, depending on your active settings or edition of Visual Studio. To change your settings, on the Tools menu, click Import and Export Settings. For more information, see Working with Settings.
To set a simple breakpoint on the shortcut menu
In a source window, right-click a line of executable code where you want to set a breakpoint.
On the shortcut menu, click Breakpoint, and then click Insert Breakpoint.
To set a simple breakpoint on the Debug menu
In a source window, click a line of executable code where you want to set a breakpoint.
On the Debug menu, click Toggle Breakpoint.