Debug

Description

The Debug class implements an object that is used to display debugging messages.

Static class properties inherited from IDebug

  Property name Brief description
IndentLevel The IndentLevel property determines the indent level in the development environment console.
IndentSize The IndentSize property determines the size of one indent.
IsLinux The IsLinux property returns whether code is being executed in a Linux family operating system.

Static class methods inherited from IDebug

  Method name Brief description
Assert The Assert method checks the Condition condition and displays an error message "Assert failed" if the condition is set to False.
AssertMsg The AssertMsg method checks the Condition and displays an error message if the condition is set to False.
Fail The Fail method displays an error message.
Indent The Indent method places an indent in the console on the next level.
Unindent The Unindent method places an indent in the console on the previous level.
Write The Write method displays a value without moving the cursor to a new line.
WriteIf The WriteIf method displays a value without moving the cursor to a new line if the specified condition is satisfied.
WriteLine The WriteLine method displays a value with moving the cursor to a new line.
WriteLineIf The WriteIf method displays a value without moving the cursor to a new line if the specified condition is satisfied.

See also:

System Assembly Classes