Skip to end of metadata
Go to start of metadata

Debugging functions can be used in the Design Studio to test scripts and step through them line-by-line, checking the script logic and both local 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).

Examples

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

Search in This Topic
On This Page

Last updated:  Oct 10, 2018