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.

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. From the Debug menu, 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 from the Debug menu, Windows submenu.)
  3. In the Call Stack window, click a function name to select it.
  4. From the Debug menu, choose Run To Cursor.