次の方法で共有


ICorDebugAppDomain

更新 : 2007 年 11 月

アプリケーション ドメインをデバッグするためのメソッドを提供します。

interface ICorDebugAppDomain : ICorDebugController {
        
    HRESULT Attach ();
        
    HRESULT EnumerateAssemblies (
        [out] IcorDebugAssemblyEnum      **ppAssemblies
    );
        
    HRESULT EnumerateBreakpoints (
        [out] IcorDebugBreakpointEnum    **ppBreakpoints
    );
        
    HRESULT EnumerateSteppers (
        [out] IcorDebugStepperEnum       **ppSteppers
    );
        
    HRESULT GetID (
        [out] unsigned int               *pId
    );
        
    HRESULT GetModuleFromMetaDataInterface (
        [in] IUnknown                    *pIMetaData,
        [out] ICorDebugModule            **ppModule
    );
        
    HRESULT GetName (
        [in] unsigned int                cchName, 
        [out] unsigned int               *pcchName, 
        [out] ICorDebugAppDomain         szName
    );
        
    HRESULT GetObject (
        [out] ICorDebugValue             **ppObject
    );
        
    HRESULT GetProcess (
        [out] IcorDebugProcess           **ppProcess
    );
        
    HRESULT IsAttached (
        [out] long                       *pbAttached
    );
        
};

メソッド

メソッド

説明

ICorDebugAppDomain::Attach メソッド

デバッガをアプリケーション ドメインにアタッチします。

ICorDebugAppDomain::EnumerateAssemblies メソッド

アプリケーション ドメインのアセンブリの列挙子を取得します。

ICorDebugAppDomain::EnumerateBreakpoints メソッド

アプリケーション ドメイン内のすべてのアクティブなブレークポイントの列挙子を取得します。

ICorDebugAppDomain::EnumerateSteppers メソッド

アプリケーション ドメイン内のすべてのアクティブなステッパの列挙子を取得します。

ICorDebugAppDomain::GetId メソッド

アプリケーション ドメインの一意の ID を取得します。

ICorDebugAppDomain::GetModuleFromMetaDataInterface メソッド

メタデータ インターフェイスを指定して ICorDebugModule オブジェクトを取得します。

ICorDebugAppDomain::GetName メソッド

アプリケーション ドメインの名前を取得します。

ICorDebugAppDomain::GetObject メソッド

実装されていません。

ICorDebugAppDomain::GetProcess メソッド

アプリケーション ドメインを含むプロセスを取得します。

ICorDebugAppDomain::IsAttached メソッド

デバッガがアプリケーション ドメインにアタッチされているかどうかを判断します。

必要条件

プラットフォーム : 「.NET Framework システム要件」を参照

ヘッダー : CorDebug.idl

ライブラリ : CorGuids.lib

.NET Framework のバージョン : 3.5 SP1、3.5、3.0 SP1、3.0、2.0 SP1、2.0、1.1、1.0

参照

参照

ICorDebugAppDomain2

その他の技術情報

デバッグのインターフェイス