Debugger Class

Debugger Class

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

System::Object
  System.Diagnostics::Debugger

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

No code example is currently available or this language may not be supported.

The Debugger type exposes the following members.

  NameDescription
Public methodDebugger Obsolete. Initializes a new instance of the Debugger class.
Top

  NameDescription
Public propertyStatic memberIsAttachedGets a value that indicates whether a debugger is attached to the process.
Top

  NameDescription
Public methodStatic memberBreakSignals a breakpoint to an attached debugger.
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (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 methodStatic memberIsLoggingChecks to see whether logging is enabled by an attached debugger.
Public methodStatic memberLaunchLaunches and attaches a debugger to the process.
Public methodStatic memberLogPosts a message for the attached debugger.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

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

Show:
© 2017 Microsoft