Debugger.Go(Boolean) Method

Definition

Starts executing the program from the current statement.

C++/WinRT
void Go(bool WaitForBreakOrEnd = true);

Parameters

WaitForBreakOrEnd
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 Execution Control for more information.

Attributes

Examples

The following example demonstrates how to use the Go method.

C#
public static void Go(DTE dte)  
{  
    dte.Debugger.Go(true);  
}  

Remarks

Go starts executing the program from the current statement. See Starting Execution for more information.

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022