ICorDebugModule::EnableJITDebugging Method
Controls whether the just-in-time (JIT) compiler preserves debugging information for methods within this module.
Syntax
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 common intermediate language (CIL) 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 System Requirements.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET Framework Versions: Available since 2.0