May I know any debug methods on Quantrix Script?

Generic selectors
Exact matches only
Search title only
Search in content
Search in all posts
Search in pages
587 viewsScriptingdebug 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?

Answered question

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

Answered question
You are viewing 1 out of 3 answers, click here to view all answers.