Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Debug Methods

The Debug type exposes the following members.

  Name Description
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Assert(Boolean) Checks for a condition and outputs the call stack if the condition is false.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Assert(Boolean, String) Checks for a condition and displays a specified message if the condition is false.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Assert(Boolean, String, String) Checks for a condition and displays two specified messages if the condition is false.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Assert(Boolean, String, String, Object[]) Checks for a condition and outputs the message and the call stack if the condition is false.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 WriteLine(Object) Writes the value of a specified object's ToString method to the debugger by using the OutputDebugString function.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 WriteLine(String) Writes a specified message followed by a line terminator to the debugger by using the OutputDebugString function.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 WriteLine(String, Object[]) Writes a formatted string followed by a line terminator to the debugger by using the OutputDebugString function.
Top

Community Additions

ADD
Show:
© 2015 Microsoft