Class DebuggableAttribute
Modifies code generation for runtime just-in-time (JIT) debugging. This class cannot be inherited.
Inherited Members
Namespace: System.Diagnostics
Assembly: mscorlib.dll
Syntax
[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Module)]
public sealed class DebuggableAttribute : Attribute
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.
Declaration
public DebuggableAttribute(bool isJITTrackingEnabled, bool isJITOptimizerDisabled)
Parameters
Type | Name | Description |
---|---|---|
bool | isJITTrackingEnabled | true to enable debugging; otherwise, false. |
bool | isJITOptimizerDisabled | true 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.
Declaration
public DebuggableAttribute(DebuggableAttribute.DebuggingModes modes)
Parameters
Type | Name | Description |
---|---|---|
DebuggableAttribute.DebuggingModes | modes | A bitwise combination of the DebuggableAttribute.DebuggingModes values specifying the debugging mode for the JIT compiler. |
Properties
DebuggingFlags
Gets the debugging modes for the attribute.
Declaration
public DebuggableAttribute.DebuggingModes DebuggingFlags { get; }
Property Value
Type | Description |
---|---|
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.
Declaration
public bool IsJITOptimizerDisabled { get; }
Property Value
Type | Description |
---|---|
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.
Declaration
public bool IsJITTrackingEnabled { get; }
Property Value
Type | Description |
---|---|
bool | true if the runtime will track information during code generation for the debugger; otherwise, false. |