Share via


ICorDebugController::Detach Method

Detaches the debugger from the process or application domain.

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 the .NET Framework version 2.0, if unmanaged debugging is enabled, this method will fail due to operating system limitations.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Concepts

ICorDebugController Interface