DebuggableAttribute Class

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

Modifies code generation for runtime just-in-time (JIT) debugging. This class cannot be inherited.


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

[<AttributeUsageAttribute(AttributeTargets.Assembly|AttributeTargets.Module, AllowMultiple = false)>]
type DebuggableAttribute =  
        inherit Attribute

The DebuggableAttribute type exposes the following members.

Public methodDebuggableAttribute(DebuggableAttribute..::..DebuggingModes)Initializes a new instance of the DebuggableAttribute class, using the specified debugging modes for the just-in-time (JIT) compiler.
Public methodDebuggableAttribute(Boolean, Boolean)Initializes a new instance of the DebuggableAttribute class, using the specified tracking and optimization options for the just-in-time (JIT) compiler.

Public propertyDebuggingFlagsGets the debugging modes for the attribute.
Public propertyIsJITOptimizerDisabledGets a value that indicates whether the runtime optimizer is disabled.
Public propertyIsJITTrackingEnabledGets a value that indicates whether the runtime will track information during code generation for the debugger.

Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

The DebuggableAttribute controls how the runtime treats code within the module. The runtime might track extra information about generated code, and it might disable certain optimizations based on the values contained within this attribute.

A debugger might choose to ignore the DebuggableAttribute settings when loading an assembly. However, attaching a debugger to a running program may prevent the debugger from changing the settings because they have already been applied.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.