Troubleshooting device scripts
-
Device scripting is currently in Percolator, so bear on mind that it will be refined before launch. If you have any feedback or recipe requests, check out the Project Myrtle Percolator page.
-
You can also use Print scripting to define and fine tune your printing policies.
The Advanced Scripting window has some simple debugging tools such as logging and runtime error reporting.
Where possible the error message indicates the line number on which the error was found and the relevant line is highlighted.
Error messages are classed into two groups:
-
Syntax errors—these are detected and displayed when you click Apply. The error message indicates the line number on which the error was found and the relevant line is highlighted. The script does not save until all syntax errors are addressed.
-
Runtime errors—these are errors that occur when a script is executed. To see the errors, refresh the Scripting tab. The error message indicates the line number on which the error was found and the relevant line is highlighted. Runtime errors are also logged and displayed on the App Log tab.