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: See .NET Framework System Requirements.

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

See Also

Reference

ICorDebugAppDomain2 Interface

Other Resources

Debugging Interfaces