提供将托管调试器启动或附加到远程目标进程的功能。
Syntax
interface ICorDebugRemote : IUnknown
{
HRESULT CreateProcessEx
(
[in] ICorDebugRemoteTarget * pRemoteTarget,
[in] LPCWSTR lpApplicationName,
[in] LPWSTR lpCommandLine,
[in] LPSECURITY_ATTRIBUTES lpProcessAttributes,
[in] LPSECURITY_ATTRIBUTES lpThreadAttributes,
[in] BOOL bInheritHandles,
[in] DWORD dwCreationFlags,
[in] PVOID lpEnvironment,
[in] LPCWSTR lpCurrentDirectory,
[in] LPSTARTUPINFOW lpStartupInfo,
[in] LPPROCESS_INFORMATION lpProcessInformation,
[in] CorDebugCreateProcessFlags debuggingFlags,
[out] ICorDebugProcess ** ppProcess
);
HRESULT DebugActiveProcessEx
(
[in] ICorDebugRemoteTarget * pRemoteTarget,
[in] DWORD dwProcessId,
[in] BOOL fWin32Attach,
[out] ICorDebugProcess ** ppProcess
);
};
Methods
| 方法 | Description |
|---|---|
| ICorDebugRemote::CreateProcessEx 方法 | 在远程计算机上创建用于托管调试的进程。 |
| ICorDebugRemote::D ebugActiveProcessEx 方法 | 在调试器下的远程计算机上启动进程。 |
注解
目前,仅支持此功能调试在远程 Macintosh 计算机上运行的基于 Silverlight 的应用程序目标。
要求
平台: 请参阅 .NET 支持的作系统。
页眉: CorDebug.idl、CorDebug.h
图书馆: CorGuids.lib
.NET 版本: 4.5、4、3.5 SP1