Share via


ICorDebugModule2 Interface

Serves as a logical extension to ICorDebugModule Interface.

interface ICorDebugModule2 : IUnknown {
        
    HRESULT ApplyChanges (
        [in] ULONG                       cbMetadata,
        [in, size_is(cbMetadata)] BYTE   pbMetadata[],
        [in] ULONG                       cbIL,
        [in, size_is(cbIL)] BYTE         pbIL[]
    );
        
    HRESULT GetJITCompilerFlags (
               [out] DWORD                      *pdwFlags
    );
        
    HRESULT ResolveAssembly (
        [in] mdToken                     tkAssemblyRef,
        [in] ICorDebugAssembly           **ppAssembly
        );
        
    HRESULT SetJITCompilerFlags (
        [in] DWORD                       dwFlags
    );
        
        HRESULT SetJMCStatus (
        [in] BOOL                        bIsJustMyCode,
        [in] ULONG32                     cTokens,
        [in, size_is(cTokens)] mdToken   pTokens[]
    );
        
};

Methods

Method Description

ICorDebugModule2::ApplyChanges Method

Applies the changes in the metadata and the changes in the Microsoft intermediate language (MSIL) code to the running process.

ICorDebugModule2::GetJITCompilerFlags Method

Gets the flags that control the just-in-time (JIT) compilation for this ICorDebugModule2.

ICorDebugModule2::ResolveAssembly Method

Resolves the assembly referenced by the specified metadata token.

ICorDebugModule2::SetJITCompilerFlags Method

Sets the flags that control the JIT compilation for this ICorDebugModule2.

ICorDebugModule2::SetJMCStatus Method

Sets the Just My Code (JMC) status of all methods of all the classes in this ICorDebugModule2 to the specified value, except those in the pTokens array, which it sets to the opposite value.

Requirements

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

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Reference

ICorDebugModule Interface

Other Resources

Debugging Interfaces