The members of System.Diagnostics.Debug are listed below.
See Also: Inherited members from System.Object
staticAutoFlush bool. Should TraceListener.Flush be called on the Debug.Listeners after writing each message? staticIndentLevel int. The message indent level. staticIndentSize int. The message indent size. [read-only] staticListeners TraceListenerCollection. Gets the list of System.Diagnostics.TraceListener objects that messages are forwarded to.
staticAssert(bool) Displays a message if condition is false. staticAssert(bool, string) Displays message if condition is false. staticAssert(bool, string, string) Displays message and detailMessage if condition is false. staticClose() Closes all System.Diagnostics.TraceListener objects in the Debug.Listeners collection. staticFail(string) Send a failure message to all System.Diagnostics.TraceListener objects in the Debug.Listeners collection. staticFail(string, string) Send a failure message to all System.Diagnostics.TraceListener objects in the Debug.Listeners collection. staticFlush() Flushes the contents of all System.Diagnostics.TraceListener objects in the Debug.Listeners collection. staticIndent() Indents subsequent messages until the next Debug.Unindent call. staticPrint(string) Documentation for this section has not yet been entered. staticPrint(string, params object[]) Documentation for this section has not yet been entered. staticUnindent() Unindents subsequent messages. staticWrite(object) Send value to all System.Diagnostics.TraceListener objects in the Debug.Listeners collection. staticWrite(string) Send message to all System.Diagnostics.TraceListener objects in the Debug.Listeners collection. staticWrite(object, string) Send value and its category category to all System.Diagnostics.TraceListener objects in the Debug.Listeners collection. staticWrite(string, string) Send message and its category message to all System.Diagnostics.TraceListener objects in the Debug.Listeners collection. staticWriteIf(bool, object) If condition is true, send a value to all System.Diagnostics.TraceListener objects in the Debug.Listeners collection. staticWriteIf(bool, string) If condition is true, send message to all System.Diagnostics.TraceListener objects in the Debug.Listeners collection. staticWriteIf(bool, object, string) If condition is true, send message and its category category to all System.Diagnostics.TraceListener objects in the Debug.Listeners collection. staticWriteIf(bool, string, string) If condition is true, send message and its category category to all System.Diagnostics.TraceListener objects in the Debug.Listeners collection. staticWriteLine(object) Send value to all System.Diagnostics.TraceListener objects in the Debug.Listeners collection. staticWriteLine(string) Send message to all System.Diagnostics.TraceListener objects in the Debug.Listeners collection. staticWriteLine(object, string) Send value and its category category to all System.Diagnostics.TraceListener objects in the Debug.Listeners collection. staticWriteLine(string, string) Send message and its category message to all System.Diagnostics.TraceListener objects in the Debug.Listeners collection. staticWriteLineIf(bool, object) If condition is true, send a value to all System.Diagnostics.TraceListener objects in the Debug.Listeners collection. staticWriteLineIf(bool, string) If condition is true, send message to all System.Diagnostics.TraceListener objects in the Debug.Listeners collection. staticWriteLineIf(bool, object, string) If condition is true, send message and its category category to all System.Diagnostics.TraceListener objects in the Debug.Listeners collection. staticWriteLineIf(bool, string, string) If condition is true, send message and its category category to all System.Diagnostics.TraceListener objects in the Debug.Listeners collection.