แก้ไข

แชร์ผ่าน


DebuggableAttribute.IsJITOptimizerDisabled Property

Definition

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

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

Remarks

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