Debug Methods |
The Debug type exposes the following members.
Name | Description | |
---|---|---|
Assert(Boolean) |
Checks for a condition; if the condition is false, displays a message box
that shows the call stack.
| |
Assert(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.
| |
WriteLine(Object) |
Writes the value of the object's System.Object.ToString() method to the trace
listeners in the System.Diagnostics.Debug.Listeners collection.
| |
WriteLine(String) |
Writes a message followed by a line terminator to the trace listeners in
the System.Diagnostics.Debug.Listeners collection.
| |
WriteLine(String, Object) |
Writes a formatted message followed by a line terminator to the trace listeners
in the System.Diagnostics.Debug.Listeners collection.
| |
WriteLineIf |
Writes a message to the trace listeners in the System.Diagnostics.Debug.Listeners
collection if a condition is true.
|