How to: Run to the Cursor Location
This topic applies to:
Edition |
Visual Basic |
C# |
F# |
C++ |
Web Developer |
---|---|---|---|---|---|
Express |
|||||
Pro, Premium, and Ultimate |
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.
Note
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 Working with Settings.
To run to the cursor in a source window
Right-click a line in the source window and choose Run To Cursor.
Execution breaks at the statement containing the cursor.
To run to the cursor in the Disassembly window
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.
Right-click a line in the Disassembly window and choose Run To Cursor.
See Also
Tasks
How to: Run to a Specified Location
How to: Use the Disassembly Window