Debugger Class

 

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

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

System.Object
  System.Diagnostics.Debugger

[ComVisibleAttribute(true)]
public sealed class Debugger

NameDescription
System_CAPS_pubmethodDebugger()

Obsolete.Initializes a new instance of the Debugger class.

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticIsAttached

Gets a value that indicates whether a debugger is attached to the process.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticBreak()

Signals a breakpoint to an attached debugger.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticIsLogging()

Checks to see if logging is enabled by an attached debugger.

System_CAPS_pubmethodSystem_CAPS_staticLaunch()

Launches and attaches a debugger to the process.

System_CAPS_pubmethodSystem_CAPS_staticLog(Int32, String, String)

Posts a message for the attached debugger.

System_CAPS_pubmethodSystem_CAPS_staticNotifyOfCrossThreadDependency()

Notifies a debugger that execution is about to enter a path that involves a cross-thread dependency.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticDefaultCategory

Represents the default category of message with a constant.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1

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

Return to top
Show: