Click or drag to resize
Debug Methods

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