Partager via


ICorDebugFunction2 Interface

Logically extends the ICorDebugFunction Interface 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 Interface that contains the native code statements in the function referenced by this ICorDebugFunction2 Interface 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

Reference

ICorDebugFunction Interface

Other Resources

Debugging Interfaces