Skip to content

Latest commit

 

History

History
76 lines (55 loc) · 2.21 KB

icordebugremote-debugactiveprocessex-method.md

File metadata and controls

76 lines (55 loc) · 2.21 KB
description title ms.date api_name api_location api_type f1_keywords helpviewer_keywords ms.assetid topic_type
Learn more about: ICorDebugRemote::DebugActiveProcessEx Method
ICorDebugRemote::DebugActiveProcessEx Method
03/30/2017
ICorDebugRemote.DebugActiveProcessEx
CorDebug.dll
COM
ICorDebugRemoteTarget::DebugActiveProcessEx
ICorDebugRemote::DebugActiveProcessEx method [.NET Framework debugging]
DebugActiveProcessEx method, ICorDebugRemote interface [.NET Framework debugging]
b0df5c5d-9a2e-47bf-894c-6f8a9fe24a1f
apiref

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