Share via


ICorDebugModule2::SetJITCompilerFlags Method

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

HRESULT SetJITCompilerFlags (
    [in] DWORD dwFlags
);

Parameters

Remarks

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

The SetJITCompilerFlags method can be called only from within the ICorDebugManagedCallback::LoadModule callback for this module. Attempts to call it after the ICorDebugManagedCallback::LoadModule 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, 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

Concepts

ICorDebugModule2 Interface

ICorDebugModule Interface