|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
How to: Run to a Specified Function
You can command the debugger to run your application until it reaches a specified function. You can specify the function by name (using the toolbar) or you can choose it from the call stack. (Another method of doing this is to set a.)
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.
To run to a specified function in an open source file
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.
Repeat step 1, if necessary.
In the source window, right-click on the function definition and select Run To Cursor from the shortcut menu.
To run to a function on the call stack
The debugger must be in break mode.
Open the Call Stack window, if necessary. (Choose Call Stack from the Debug menu, Windows submenu.)
In the Call Stack window, right-click the function name and choose Run To Cursor from the shortcut menu.