ICorDebugRemote::DebugActiveProcessEx Method
Launches a process on a remote machine under the debugger.
Syntax
HRESULT DebugActiveProcessEx (
[in] ICorDebugRemoteTarget * pRemoteTarget,
[in] DWORD dwProcessId,
[in] BOOL fWin32Attach,
[out] ICorDebugProcess ** ppProcess
);
Parameters
pRemoteTarget
[in] Pointer to an ICorDebugRemoteTarget Interface. This parameter is used to determine the machine on which the process is running.
id
[in] The ID of the process to which the debugger is to be attached.
win32Attach
[in] true
if the debugger should behave as the Win32 debugger for the process and dispatch the unmanaged callbacks; otherwise, false
.
ppProcess
[out] A pointer to the address of an "ICorDebugProcess" object that represents the process to which the debugger has been attached.
Return Value
S_OK Successfully attached to the process on the remote machine.
E_FAIL (or other E_ return codes) Unable to attach to the process on the remote machine.
Remarks
Mixed-mode debugging is not supported in Silverlight.
Requirements
Platforms: See System Requirements.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET Framework Versions: 4.5, 4, 3.5 SP1