Skip to end of metadata
Go to start of metadata

Debugging functions can be used to test scripts and step through them line-by-line, checking the script logic and global variables.

DebugBreak

Declaration

bool DebugBreak([boolean booleanExpression])

Syntax

DebugBreak([<booleanExpression>])

Optional Parameters

  • booleanExpression: Boolean expression, used to determine if the breakpoint is to honored

Description

When passed an expression that evaluates to trueDebugBreak() causes execution control to return to the client when testing a script, expression, transformation, or operation. Returns true if execution was stopped; otherwise false is returned.

The input argument is optional: DebugBreak() is equivalent to DebugBreak(true).

For more information, see Script Testing.

Examples

DebugBreak(i > 5); 
// Activates the breakpoint 
// when i is greater than 5

On This Page

Search in This Topic
Related Articles

Last updated:  Mar 27, 2019

  • No labels