This documentation is archived and is not being maintained.

Debugger.Go Method

Starts executing the program from the current statement.

Namespace: EnvDTE
Assembly: EnvDTE (in envdte.dll)

void Go (
	[OptionalAttribute] [InAttribute] bool WaitForBreakOrEnd
void Go (
	/** @attribute InAttribute() */ /** @attribute OptionalAttribute() */ boolean WaitForBreakOrEnd
function Go (
	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.

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

The following example demonstrates how to use the Go method.

To test this method:

  1. Set several breakpoints in the target application.

  2. Run the add-in.

public static void Go(DTE dte)