Share via


How to: Run to a Specified Location 

Sometimes, while debugging, you will want to execute to a certain point in code, and then break. If you have a breakpoint set at the location where you want to break, you can follow this procedure.

NoteNote

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 run to a specified location where you have set a breakpoint

  • On the Debug menu, click Start or Continue.

You do not need to set a breakpoint in all cases, however. The Visual Studio debugger provides specific commands to run to the cursor location or to a specified function. For more information, see How to: Run to the Cursor Location and How to: Run to a Specified Function.

See Also

Concepts

Execution Control