Share via


Debugger5.RunToCursor Method

Executes the program to the current position of the source file cursor.

Namespace:  EnvDTE100
Assembly:  EnvDTE100 (in EnvDTE100.dll)

Syntax

'Declaration
Sub RunToCursor ( _
    WaitForBreakOrEnd As Boolean _
)
void RunToCursor(
    bool WaitForBreakOrEnd
)
void RunToCursor(
    [InAttribute] bool WaitForBreakOrEnd
)
abstract RunToCursor : 
        WaitForBreakOrEnd:bool -> unit
function RunToCursor(
    WaitForBreakOrEnd : boolean
)

Parameters

  • WaitForBreakOrEnd
    Type: System.Boolean

    Set to true if this function call should wait until either Break mode or Design mode is entered before returning. Set to false if you want this call to return immediately after causing the debugger to begin execution. Upon return the debugger could be in Design, Break, or Run modes.

    See Code Stepping Overview for more information.

.NET Framework Security

See Also

Reference

Debugger5 Interface

EnvDTE100 Namespace