May I know any debug methods on Quantrix Script?

2.39K viewsScriptingdebug script
0

As I have experience in some programmer language, there is some debug method like breakpoints or step-by-step run.
What is possible debug methods in Quantrix scripting?

S A U Answered question February 12, 2020
0

You’re welcome.
If you prefer breakpoints, you can also use a assert method in the QM’s Scripting Console (see more details, for example, here). Arrange asserts in the right parts of the script. Run the script from the console. If assert will evaluate the variable to false, the script at this point will stop and display a message in the status line. Otherwise, the script will execute and display the result.
Below is the demonstration of two cases with simple example.
*
There is no error, take the result (4).
*
There is the error, the script is stopped. There is no result (4).
*
Good luck

S A U Answered question February 12, 2020
0

Thanks for reply, better than none, more better if having more function, thanks.

Dear Clod Answered question February 12, 2020
0

As I understand it, the System.out.println() and System.err.println() are your assistants of scripts debugging.
See more details here.

S A U Answered question February 5, 2020