Share via


DebuggableAttribute Constructor (Boolean, Boolean)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of the DebuggableAttribute class, using the specified tracking and optimization options for the just-in-time (JIT) compiler.

Namespace:  System.Diagnostics
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public Sub New ( _
    isJITTrackingEnabled As Boolean, _
    isJITOptimizerDisabled As Boolean _
)
public DebuggableAttribute(
    bool isJITTrackingEnabled,
    bool isJITOptimizerDisabled
)
public:
DebuggableAttribute(
    bool isJITTrackingEnabled, 
    bool isJITOptimizerDisabled
)
new : 
        isJITTrackingEnabled:bool * 
        isJITOptimizerDisabled:bool -> DebuggableAttribute
public function DebuggableAttribute(
    isJITTrackingEnabled : boolean, 
    isJITOptimizerDisabled : boolean
)

Parameters

  • isJITOptimizerDisabled
    Type: System. . :: . .Boolean
    true to disable the optimizer for execution; otherwise, false.

Remarks

This constructor sets the properties IsJITTrackingEnabled and IsJITOptimizerDisabled.

An isJITOptimizerDisabled parameter value of true optimizes for debugging; a value of false optimizes for execution.

.NET Framework Security

See Also

Reference

DebuggableAttribute Class

DebuggableAttribute Overload

System.Diagnostics Namespace