Share via


ICorDebugAppDomain Interface

Provides methods for debugging application domains.

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
    );
        
};

Methods

Method

Description

ICorDebugAppDomain::Attach Method

Attaches the debugger to the application domain.

ICorDebugAppDomain::EnumerateAssemblies Method

Gets an enumerator for the assemblies in the application domain.

ICorDebugAppDomain::EnumerateBreakpoints Method

Gets an enumerator for all active breakpoints in the application domain.

ICorDebugAppDomain::EnumerateSteppers Method

Gets an enumerator for all active steppers in the application domain.

ICorDebugAppDomain::GetId Method

Gets the unique ID of the application domain.

ICorDebugAppDomain::GetModuleFromMetaDataInterface Method

Gets the ICorDebugModule object with the given metadata interface.

ICorDebugAppDomain::GetName Method

Gets the name of the application domain.

ICorDebugAppDomain::GetObject Method

Not implemented.

ICorDebugAppDomain::GetProcess Method

Gets the process containing the application domain.

ICorDebugAppDomain::IsAttached Method

Determines whether the debugger is attached to the application domain.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Concepts

ICorDebugAppDomain2 Interface

Debugging Interfaces