Class DebuggableAttribute
- Namespace
- System.Diagnostics
- Assembly
- mscorlib.dll
Modifies code generation for runtime just-in-time (JIT) debugging. This class cannot be inherited.
[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Module)]
public sealed class DebuggableAttribute : Attribute
- Inheritance
-
DebuggableAttribute
- Inherited Members
- Extension Methods
Constructors
DebuggableAttribute(bool, bool)
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)
Parameters
isJITTrackingEnabled
booltrue to enable debugging; otherwise, false.
isJITOptimizerDisabled
booltrue to disable the optimizer for execution; otherwise, false.
DebuggableAttribute(DebuggingModes)
Initializes a new instance of the DebuggableAttribute class, using the specified debugging modes for the just-in-time (JIT) compiler.
public DebuggableAttribute(DebuggableAttribute.DebuggingModes modes)
Parameters
modes
DebuggableAttribute.DebuggingModesA bitwise combination of the DebuggableAttribute.DebuggingModes values specifying the debugging mode for the JIT compiler.
Properties
DebuggingFlags
Gets the debugging modes for the attribute.
public DebuggableAttribute.DebuggingModes DebuggingFlags { get; }
Property Value
- DebuggableAttribute.DebuggingModes
A bitwise combination of the DebuggableAttribute.DebuggingModes values describing the debugging mode for the just-in-time (JIT) compiler. The default is Default.
IsJITOptimizerDisabled
Gets a value that indicates whether the runtime optimizer is disabled.
public bool IsJITOptimizerDisabled { get; }
Property Value
- bool
true if the runtime optimizer is disabled; otherwise, false.
IsJITTrackingEnabled
Gets a value that indicates whether the runtime will track information during code generation for the debugger.
public bool IsJITTrackingEnabled { get; }
Property Value
- bool
true if the runtime will track information during code generation for the debugger; otherwise, false.