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: 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

ICorDebugModule2 Interface

ICorDebugModule Interface