ICorDebugRemote 介面
提供啟動或附加 Managed 偵錯工具至遠端目標處理序的功能。
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
);
};
方法
方法 | 描述 |
---|---|
ICorDebugRemote::CreateProcessEx 方法 | 在遠端電腦上建立處理序以進行受控偵錯。 |
ICorDebugRemote::DebugActiveProcessEx 方法 | 在偵錯工具的遠端電腦啟動處理序。 |
備註
目前,此功能僅支援對於在遠端 Macintosh 電腦上執行的 Silverlight 型應用程式目標進行偵錯。
規格需求
平台:請參閱系統需求。
標頭:CorDebug.idl、CorDebug.h
程式庫:CorGuids.lib
.NET Framework版本:4.5、4、3.5 SP1