Process::Detach Method (Boolean)

 

Causes the debugger to detach from this process.

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

void Detach(
	bool WaitForBreakOrEnd = true
)

Parameters

WaitForBreakOrEnd
Type: System::Boolean

Set to true if the debugging session should stop only when it reaches a break or the end. Set to false if you intend to stop debugging, but you have to perform other tasks in the macro even before the debugger breaks or ends. For more information, see Breaking Execution.

This method causes the debugger to detach from the current process.

The following example demonstrates how to use the Detach method.

No code example is currently available or this language may not be supported.
Return to top
Show: