Partager via


ICorDebugCode2 Interface

Provides methods that extend the capabilities of ICorDebugCode Interface.

interface ICorDebugCode2 : IUnknown {
    HRESULT GetCodeChunks (
        [in] ULONG32      cbufSize,
        [out] ULONG32     *pcnumChunks,
        [out, size_is(cbufSize), length_is(*pcnumChunks)] 
            CodeChunkInfo chunks[]
    );
        
    HRESULT GetCompilerFlags (
        [out] DWORD       *pdwFlags
    );
};

Methods

Method Description

ICorDebugCode2::GetCodeChunks Method

Gets the chunks of code that this code object is composed of.

ICorDebugCode2::GetCompilerFlags Method

Gets the flags that specify the conditions under which this code object was either just-in-time (JIT) compiled or generated using the native image generator (Ngen.exe).

Requirements

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

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Reference

ICorDebugCode Interface

Other Resources

Debugging Interfaces