Share via


CreateCoreClrDebugTarget Function

Creates a connection to a debugger proxy that is running on a remote machine, and returns an ICoreClrDebugTarget object that can be used to query running processes and loaded runtimes on the remote machine.

HRESULT CreateCoreClrDebugTarget (
       [in]  DWORD    dwAddress, 
       [out] ICoreClrDebugTarget**     ppTarget
);

Parameters

  • dwAddress
    [in] IPv4 address of a remote target machine.

  • ppTarget
    [out] Pointer to a pointer to an ICoreClrDebugTarget object that will be created.

Return Value

  • S_OK
    The number of CLRs in the process was successfully determined, and the corresponding handle and path arrays were properly filled.

  • E_OUTOFMEMORY
    Unable to allocate enough memory for ppTarget.

  • E_FAIL (or other E_ return codes)
    Other failures.

Requirements

Platforms: See .NET Framework System Requirements.

Header: CoreClrRemoteDebuggingInterfaces.h

Library: mscordbi_macx86.dll

.NET Framework Versions: 3.5 SP1

See Also

Other Resources

Debugging Global Static Functions for the Macintosh

Change History

Date

History

Reason

October 2008

Added topic.

Information enhancement.