Freigeben über


ICorDebugModule2::SetJITCompilerFlags Method

Sets the flags that control the just-in-time (JIT) compilation of this ICorDebugModule2 Interface.

HRESULT SetJITCompilerFlags (
    [in] DWORD dwFlags
);

Parameters

Parameter Description

dwFlags

[in] A bitwise combination of the CorDebugJITCompilerFlags Enumeration enumeration values.

Remarks

If the dwFlags value is invalid, the SetJITCompilerFlags method will fail.

The SetJITCompilerFlags method can be called only from within the ICorDebugManagedCallback::LoadModule Method callback for this module. Attempts to call it after the ICorDebugManagedCallback::LoadModule Method callback has been delivered will fail.

Edit and Continue is not supported on 64-bit or Win9x platforms. Therefore, if you call the SetJITCompilerFlags method on either of these two platforms with the CORDEBUG_JIT_ENABLE_ENC flag set in dwFlags, the SetJITCompilerFlags method and all methods specific to Edit and Continue, such as ICorDebugModule2::ApplyChanges Method, will fail.

Requirements

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

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Reference

ICorDebugModule2 Interface
ICorDebugModule Interface