Debugger Class (System.Diagnostics)

Switch View :
ScriptFree
.NET Framework Class Library for Silverlight
Debugger Class

Enables communication with a debugger. This class cannot be inherited.

Inheritance Hierarchy

System.Object
  System.Diagnostics.Debugger

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

Visual Basic (Declaration)
<ComVisibleAttribute(True)> _
Public NotInheritable Class Debugger
C#
[ComVisibleAttribute(true)]
public sealed class Debugger

The Debugger type exposes the following members.

Constructors

  Name Description
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Debugger Obsolete. Initializes a new instance of the Debugger class.
Top
Properties

  Name Description
Public property Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 IsAttached Gets a value that indicates whether a debugger is attached to the process.
Top
Methods

  Name Description
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Break Signals a breakpoint to an attached debugger.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by Silverlight for Windows Phone Supported by Xbox 360 Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 IsLogging Checks to see whether logging is enabled by an attached debugger.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Launch Launches and attaches a debugger to the process.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Log Posts a message for the attached debugger.
Protected method Supported by Silverlight for Windows Phone Supported by Xbox 360 MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0
Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

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.
See Also

Reference