Debug Class

Provides a set of methods and properties that help to debug your script. The methods are only effective if a script debugger is active. If no script debugger is available, the methods will return without any error message. In this case no action is taken and return values are set to default values.

Definition

Namespace: PCBIScript.DebugHelp
Assembly: PCBI_ScriptEngine (in PCBI_ScriptEngine.dll) Version: 17.0.0.0 (17.0.0.0)
C#
public sealed class Debug
Inheritance
Object    Debug

Constructors

DebugInitializes a new instance of the Debug class

Properties

IndentLevel Gets or sets the indent level.
IndentSize The number of spaces as indent.

Methods

ClearOutputScreen Clears all messages from the output screen.
Indent Increases the current indent level by one.
Unindent Decreases the current indent level by one.
Write Writes a text to the output window.
WriteIf Writes a text to the output window if a condition is true.
WriteLine Writes a new line to the output window.
WriteLine(String) Writes a text to the output window and appends a new line.
WriteLineIf Writes a text to the output window if a condition is true and appends a new line.

See Also