Delen via


ICorDebugCode2 Interface

Provides methods that extend the capabilities of ICorDebugCode.

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: 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

See Also

Reference

ICorDebugCode Interface

Other Resources

Debugging Interfaces