Edit

Share via


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.

If unmanaged debugging is enabled, this method will fail due to operating system limitations.

Requirements

Platforms: See .NET supported operating systems.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET versions: Available since .NET Framework 1.0

See also