Section A.8. Debugging


A.8. Debugging

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





Visual Basic 2005(c) In a Nutshell
Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
ISBN: 059610152X
EAN: 2147483647
Year: 2004
Pages: 712

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net