Debug Functions in DIAL
The debug functions control debugging output from DIAL to trace scripting issues.
Turns debugging output on or off. If flag is true (equal to1), the interpreter writes debugging information to standard output. If flag is false (equal to 0), debugging output is disabled.
For example:
debug.set(1); // turns on debugging
debug.set(0); // turns off debugging
This sample has debugging turned on:
C:\DI_Solution\executables\dial\java -jar dial.jar hello_world.dial DIAL Interpreter 6.3 (23)
Evaluating factor console.writeln("Hello World")
Evaluating factor "Hello World" Hello World
Evaluating factor console.writeln("It works now!")
Evaluating factor "It works now!"It works now!
C:\DI_Solution\executables\dial>