Click or drag to resize
Debug Class
Provides a set of methods and properties that help debug your code. This class cannot be inherited.
Inheritance Hierarchy
SystemObject
  System.DiagnosticsDebug

Namespace: System.Diagnostics
Assembly: CSharpXamlForHtml5.System.dll (in CSharpXamlForHtml5.System.dll.dll) Version: 1.0.0.0
Syntax
C#
public static class Debug

The Debug type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAssert(Boolean)
Checks for a condition; if the condition is false, displays a message box that shows the call stack.
Public methodStatic memberAssert(Boolean, String)
Checks for a condition; if the condition is false, outputs a specified message and displays a message box that shows the call stack.
Public methodStatic memberWriteLine(Object)
Writes the value of the object's System.Object.ToString() method to the trace listeners in the System.Diagnostics.Debug.Listeners collection.
Public methodStatic memberWriteLine(String)
Writes a message followed by a line terminator to the trace listeners in the System.Diagnostics.Debug.Listeners collection.
Public methodStatic memberWriteLine(String, Object)
Writes a formatted message followed by a line terminator to the trace listeners in the System.Diagnostics.Debug.Listeners collection.
Public methodStatic memberWriteLineIf
Writes a message to the trace listeners in the System.Diagnostics.Debug.Listeners collection if a condition is true.
Top
See Also