Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

How to: Run to the Cursor Location

This topic applies to:

Edition

Visual Basic

C#

C++

Web Developer

Express

Topic appliesTopic appliesTopic appliesTopic applies

Standard

Topic appliesTopic applies

Topic applies

Topic applies

Pro and Team

Topic appliesTopic applies

Topic applies

Topic applies

Table legend:

Topic applies

Applies

Topic does not apply

Does not apply

Topic applies but command hidden by default

Command or commands hidden by default.

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.)

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 Visual Studio Settings.

To run to the cursor in a source window

  • Right-click on a line 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. Right-click on a line in the Disassembly window and choose Run To Cursor from the shortcut menu.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft