다음을 통해 공유


ICorDebugModule::EnableJITDebugging Method

Controls whether the just-in-time (JIT) compiler preserves debugging information for methods within this module.

HRESULT EnableJITDebugging(
    [in] BOOL bTrackJITInfo,
    [in] BOOL bAllowJitOpts
);

Parameters

  • bTrackJITInfo
    [in] Set this value to true to enable the JIT compiler to preserve mapping information between the Microsoft intermediate language (MSIL) version and the JIT-compiled version of each method in this module.

  • bAllowJitOpts
    [in] Set this value to true to enable the JIT compiler to generate code with certain JIT-specific optimizations for debugging.

Remarks

JIT debugging is enabled by default for all modules that are loaded when the debugger is active. Programmatically enabling or disabling the settings overrides global settings.

Requirements

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

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Concepts

ICorDebugModule Interface

ICorDebugModule2 Interface