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: See .NET Framework System Requirements.

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

See Also

Reference

ICorDebugController Interface