Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DebuggableAttribute Class

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

For a list of all members of this type, see DebuggableAttribute Members.

System.Object
   System.Attribute
      System.Diagnostics.DebuggableAttribute

[Visual Basic]
<AttributeUsage(AttributeTargets.Assembly Or _
   AttributeTargets.Module)>
NotInheritable Public Class DebuggableAttribute
   Inherits Attribute
[C#]
[AttributeUsage(AttributeTargets.Assembly |
   AttributeTargets.Module)]
public sealed class DebuggableAttribute : Attribute
[C++]
[AttributeUsage(AttributeTargets::Assembly |
   AttributeTargets::Module)]
public __gc __sealed class DebuggableAttribute : public Attribute
[JScript]
public
   AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module)
class DebuggableAttribute extends Attribute

Thread Safety

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

Remarks

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.

For more information about using attributes, see Extending Metadata Using Attributes.

Requirements

Namespace: System.Diagnostics

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: Mscorlib (in Mscorlib.dll)

See Also

DebuggableAttribute Members | System.Diagnostics Namespace

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft