Debug Methods
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Include Protected Members
Include Inherited Members
Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members
The Debug type exposes the following members.
Methods
Name | Description | |
---|---|---|
Assert(Boolean) | Checks for a condition and outputs the call stack if the condition is false. | |
Assert(Boolean, String) | Checks for a condition and displays a specified message if the condition is false. | |
Assert(Boolean, String, String) | Checks for a condition and displays two specified messages if the condition is false. | |
Assert(Boolean, String, String, array<Object[]) | Checks for a condition and outputs the message and the call stack if the condition is false. | |
WriteLine(Object) | Writes the value of a specified object's ToString method to the debugger by using the OutputDebugString function. | |
WriteLine(String) | Writes a specified message followed by a line terminator to the debugger by using the OutputDebugString function. | |
WriteLine(String, array<Object[]) | Writes a formatted string followed by a line terminator to the debugger by using the OutputDebugString function. |
Top