This documentation is archived and is not being maintained.

DebuggerStepThroughAttribute Class

Specifies the DebuggerStepThroughAttribute. This class cannot be inherited.

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


[Visual Basic]
<AttributeUsage(AttributeTargets.Class Or AttributeTargets.Struct _
   Or AttributeTargets.Constructor Or AttributeTargets.Method)>
NotInheritable Public Class DebuggerStepThroughAttribute
   Inherits Attribute
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct |
   AttributeTargets.Constructor | AttributeTargets.Method)]
public sealed class DebuggerStepThroughAttribute : Attribute
[AttributeUsage(AttributeTargets::Class | AttributeTargets::Struct
   | AttributeTargets::Constructor | AttributeTargets::Method)]
public __gc __sealed class DebuggerStepThroughAttribute : public
   AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct |
   AttributeTargets.Constructor | AttributeTargets.Method)
class DebuggerStepThroughAttribute 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.


The common language runtime attaches no semantics to this attribute. It is provided for use by source code debuggers. For example, the Visual Studio .NET debugger does not stop in a method marked with this attribute but does allow a breakpoint to be set in the method.

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


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

DebuggerStepThroughAttribute Members | System.Diagnostics Namespace