May I know any debug methods on Quantrix Script?
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?
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
Thanks for reply, better than none, more better if having more function, thanks.
As I understand it, the System.out.println() and System.err.println() are your assistants of scripts debugging.
See more details here.