Export (0) Print
Expand All

ICorDebug::DebugActiveProcess Method

Attaches the debugger to an existing process.

HRESULT DebugActiveProcess (
    [in]  DWORD               id,
    [in]  BOOL                win32Attach,
    [out] ICorDebugProcess    **ppProcess


[in] The ID of the process to which the debugger is to be attached.


[in] Boolean value that is set to true if the debugger should behave as the Win32 debugger for the process and dispatch the unmanaged callbacks; otherwise, false.


[out] A pointer to the address of an ICorDebugProcess object that represents the process to which the debugger has been attached.

Interop debugging is not supported on Win9x and non-x86 platforms, such as IA-64-based and AMD64-based platforms.

Platforms: See .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: 4.6 Preview, 4.5.2, 4.5.1, 4.5, 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

© 2015 Microsoft