The debug :: core module

The debug :: core module provides functions, constants and global variables for the implementation of basic debuging operations such as breaking and printing diagnostic messages and variables' values.

Required modules

base :: core, array :: core, array :: operators, array :: slices

Functions

NameDescription

ArrayPrint()

Returns a clip with the values of the elements contained in array ...

ArrayPrintCP()

Returns a clip with the values of the elements contained in array ...

Break()

Stops script execution and displays the values of the variables passed as ...

BreakIf()

Stops script execution if condition is true and displays the values ...

Print()

Returns a clip with the values of the variables passed as arguments printed in ...

Constants

NameDescription

PRN_WSIZE

Width of the standard clip returned by Print(), ArrayPrint() and ArrayPrintCP() functions.

PRN_HSIZE

Height of the standard clip returned by Print(), ArrayPrint() and ArrayPrintCP() functions.

PRN_LSIZE

Height of each (text) line of the standard clip returned by Print(), ArrayPrint() and ArrayPrintCP() functions.

PRN_LINES

Number of lines contained in the standard clip returned by Print(), ArrayPrint() and ArrayPrintCP() functions.

Variables

NameDescription

PrintBase

A PRN_WSIZE x PRN_HSIZE, 1 sec clip that is used internally by the module's routines to print out information passed in by the caller. Note that by changing it, the output of Print(), ArrayPrint() and ArrayPrintCP() functions will be affected.