Element
Description
Debug.Assert method
Outputs a message if an expression is False
Debug.AutoFlush property
Determines whether each write operation should be followed by a call to the Flush method
Debug.Close method
Flushes the output buffer and closes any listeners except the Output window
Debug.Flush method
Flushes the output buffer
Debug.Indent method
Increases the value of the IndentLevel property by 1
Debug.IndentLevel property
Determines the indent level for Debug object output
Debug.IndentSize property
Defines the current indent size , in number of spaces
Debug.Listeners property
Returns a collection of all TraceListener objects that are monitoring the Debug object's output
Debug.Unindent method
Decreases the value of the IndentLevel property by 1
Debug.Write method
Sends output to the Output window and other listeners
Debug.WriteIf method
Sends output to the Output window and other listeners if an expression is True
Debug.WriteLine method
Writes output along with a newline character to the Output window
Debug.WriteLineIf method
Writes output along with a newline character to the Output window if an expression is True