How to: Run to a Specified Function
Collapse the table of content
Expand the table of content

How to: Run to a Specified Function

This topic applies to:

Edition

Visual Basic

C#

F#

C++

Web Developer

Express

Topic appliesTopic appliesTopic appliesTopic appliesTopic applies

Pro, Premium, and Ultimate

Topic appliesTopic appliesTopic appliesTopic appliesTopic applies

You can command the debugger to run your application until it reaches a specified function. You can specify the function by name by using the toolbar or you can choose it from the call stack. Another method of doing this is to set a How to: Set a Function Breakpoint.

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 Working with Settings.

To run to a specified function in an open source file

  1. On the standard toolbar, type the function name in the Find box and press ENTER. This moves the cursor to the specified function or a call to that function.

  2. Repeat step 1, if necessary.

  3. In the source window, right-click the function definition and select Run To Cursor.

To run to a function on the call stack

  1. The debugger must be in break mode.

  2. Open the Call Stack window, if necessary. Choose Call Stack on the Debugmenu.

  3. In the Call Stack window, right-click the function name and choose Run To Cursor.

Community Additions

ADD
Show:
© 2016 Microsoft