Run to the Cursor Location

You can command the debugger to run your application until it reaches the location where the cursor is set. This location may be in a source window. (The cursor means the insertion point you set by clicking the window with the mouse.)

To run to the cursor in a source window

  1. The debugger must be in break mode.
  2. In a source file, click a source line to move the cursor to that point.
  3. From the Debug menu, select Run To Cursor.

    The break location depends on the step unit chosen through the Step By command on the Debug menu. If the step unit is line, execution breaks at the first statement on the line. If the step unit is statement, execution breaks at the statement containing the cursor.