How to: Run to a Specified Location

This topic applies to:

Edition

Visual Basic

C#

C++

Web Developer

Express

Topic applies Topic applies Topic applies Topic applies

Standard

Topic applies Topic applies Topic applies Topic applies

Pro and Team

Topic applies Topic applies Topic applies Topic applies

Table legend:

Topic applies

Applies

Topic does not apply

Does not apply

Topic applies but command hidden by default

Command or commands hidden by default.

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.

Note

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