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
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for