This documentation is archived and is not being maintained.

Running 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 or the Disassembly window. (The cursor means the insertion point that you set by clicking the window with the mouse.)

To run to the cursor in a source window

  1. In a source file, click a source line to move the cursor to that point.
  2. Right-click in the source window and choose Run To Cursor from the shortcut menu.

    Execution breaks at the statement containing the cursor.

To run to the cursor in the Disassembly window

  1. If the Disassembly window is not visible, choose Windows from the Debug menu and select Disassembly (you must be in break mode to view the Disassembly window).
  2. In the Disassembly window, click a line to move the cursor to that point.
  3. Right-click in the Disassembly window and choose Run To Cursor from the shortcut menu.

See Also

Running to a Specified Location | Execution Control | Disassembly Window

Show: