Share via

DebuggableAttribute.IsJITOptimizerDisabled Property


Gets a value that indicates whether the runtime optimizer is disabled.

 property bool IsJITOptimizerDisabled { bool get(); };
public bool IsJITOptimizerDisabled { get; }
member this.IsJITOptimizerDisabled : bool
Public ReadOnly Property IsJITOptimizerDisabled As Boolean

Property Value

true if the runtime optimizer is disabled; otherwise, false.


A value of true enhances performance for runtime debugging, which can cause a decline in execution performance. A value of false enhances performance for execution. When IsJITOptimizerDisabled is set to false, stepping through code might result in a different behavior than when set to true because the compiler might reorder instructions or insert jumps to common code.

Applies to