マネージド デバッガーを起動またはリモート ターゲット プロセスにアタッチする機能を提供します。
構文
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 ベースのアプリケーション ターゲットをデバッグする場合にのみサポートされています。
Requirements
プラットフォーム:サポートされている .NET オペレーティング システムを参照してください。
ヘッダ: CorDebug.idl、CorDebug.h
図書館: CorGuids.lib
.NET バージョン: 4.5、4、3.5 SP1
こちらも参照ください
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET