How to: Set a Simple Breakpoint
This topic applies to:
Pro and Team
Does not apply
Command or commands hidden by default.
The Visual Studio debugger provides many ways of setting breakpoints. This topic gives two quick ways of setting simple breakpoints.
For other ways of setting breakpoints, see:
For ways of setting advanced features on a breakpoint, see:
The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.
To set a simple breakpoint (from the shortcut menu)
In a source window, right-click on a line of executable code where you want to set a breakpoint.
In the shortcut menu, go to Breakpoint and choose Insert Breakpoint.
To set a simple breakpoint (from the Debug menu)
In a source window, click on a line of executable code where you want to set a breakpoint.
From the Debug menu, choose Toggle Breakpoint.