Share via


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: See .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

ICorDebugModule Interface

ICorDebugModule2 Interface