Compartilhar via


ICorDebugFunction2 Interface

Logically extends the ICorDebugFunction interface to provide support for Just My Code step-through debugging, which skips non-user code.

interface ICorDebugFunction2 : IUnknown {
        
    HRESULT EnumerateNativeCode (
        [out] ICorDebugCodeEnum   **ppCodeEnum
    );
        
    HRESULT GetJMCStatus (
        [out] BOOL                *pbIsJustMyCode
    );
        
    HRESULT GetVersionNumber (
        [out] ULONG32             *pnVersion
    );
        
    HRESULT SetJMCStatus (
        [in] BOOL                 bIsJustMyCode
    );
        
};

Methods

Method

Description

ICorDebugFunction2::EnumerateNativeCode Method

(Not yet implemented.) Gets an interface pointer to an ICorDebugCodeEnum that contains the native code statements in the function referenced by this ICorDebugFunction2 object.

ICorDebugFunction2::GetJMCStatus Method

Gets a value that indicates whether this function is marked as user code.

ICorDebugFunction2::GetVersionNumber Method

Gets the Edit and Continue version of this function.

ICorDebugFunction2::SetJMCStatus Method

Marks this function for Just My Code stepping.

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

ICorDebugFunction Interface

Debugging Interfaces