संपादित करें

इसके माध्यम से साझा किया गया


DebuggableAttribute Constructors

Definition

Initializes a new instance of the DebuggableAttribute class.

Overloads

DebuggableAttribute(DebuggableAttribute+DebuggingModes)

Initializes a new instance of the DebuggableAttribute class, using the specified debugging modes for the just-in-time (JIT) compiler.

DebuggableAttribute(Boolean, Boolean)

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

DebuggableAttribute(DebuggableAttribute+DebuggingModes)

Source:
DebuggableAttribute.cs
Source:
DebuggableAttribute.cs
Source:
DebuggableAttribute.cs

Initializes a new instance of the DebuggableAttribute class, using the specified debugging modes for the just-in-time (JIT) compiler.

public:
 DebuggableAttribute(System::Diagnostics::DebuggableAttribute::DebuggingModes modes);
public DebuggableAttribute (System.Diagnostics.DebuggableAttribute.DebuggingModes modes);
new System.Diagnostics.DebuggableAttribute : System.Diagnostics.DebuggableAttribute.DebuggingModes -> System.Diagnostics.DebuggableAttribute
Public Sub New (modes As DebuggableAttribute.DebuggingModes)

Parameters

modes
DebuggableAttribute.DebuggingModes

A bitwise combination of the DebuggableAttribute.DebuggingModes values specifying the debugging mode for the JIT compiler.

Remarks

Calling the DebuggableAttribute(DebuggableAttribute+DebuggingModes) constructor with a modes parameter value of Default is equivalent to calling the DebuggableAttribute(Boolean, Boolean) constructor with an isJITTrackingEnabled parameter value of true.

Applies to

DebuggableAttribute(Boolean, Boolean)

Source:
DebuggableAttribute.cs
Source:
DebuggableAttribute.cs
Source:
DebuggableAttribute.cs

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

public:
 DebuggableAttribute(bool isJITTrackingEnabled, bool isJITOptimizerDisabled);
public DebuggableAttribute (bool isJITTrackingEnabled, bool isJITOptimizerDisabled);
new System.Diagnostics.DebuggableAttribute : bool * bool -> System.Diagnostics.DebuggableAttribute
Public Sub New (isJITTrackingEnabled As Boolean, isJITOptimizerDisabled As Boolean)

Parameters

isJITTrackingEnabled
Boolean

true to enable debugging; otherwise, false.

isJITOptimizerDisabled
Boolean

true to disable the optimizer for execution; otherwise, false.

Remarks

This constructor sets the properties IsJITTrackingEnabled and IsJITOptimizerDisabled.

An isJITTrackingEnabled parameter value of true causes the runtime to track information important to the debugger during code generation; a value of false results in no tracking, but does not prevent debugging. This parameter has no effect in the .NET Framework version 2.0. In version 2.0, JIT tracking information, the Microsoft intermediate language (MSIL) offset to the native-code offset within a method, is always generated.

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

Applies to