How to: Run to a Specified Location
This topic applies to:
Pro, Premium, and Ultimate
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.
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 Working with 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.