Debug Print

The Debug Print operation displays the specified text, number, or other value on the screen.

Block
Text

debugPrint(EXPRESSION);
               1

1: Source

 

(Example)

Block

Text

onClick($GraphicObject.Switch1, ()=>{

debugPrint(Var1);

});

Note:

When you use a local variable, replace the corresponding block or text with the following.

Block

Text

'debugPrint($Local.Var1);

 

The value is displayed in the bottom-left part of the screen.

Note:

About Date / Time Data Type

Values for the following data types cannot be displayed in date/time format. Its values are displayed in integer format.

(Example) DATE_AND_TIME Variable

Date / Time Format: 8/19/2020 10:19:00 AM

Integer Format: 1597799940