Debugging
|
Element |
Description |
|---|---|
|
Debug.Assert method |
Outputs a message if an expression is |
|
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.IndentSize property |
Defines the current indent size, in number of spaces |
|
Debug.Listeners property |
Returns a collection of all |
|
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 |
|
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 |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access