ICorDebugController::Detach Method

Detaches the debugger from the process or application domain.

Syntax

HRESULT Detach ();

Remarks

The process or application domain continues execution normally, but the "ICorDebugProcess" or "ICorDebugAppDomain" object is no longer valid and no further callbacks will occur.

In .NET Framework version 2.0, if unmanaged debugging is enabled, this method will fail due to operating system limitations.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 1.0

See also