Any chance of giving line numbers on error??

3.74K viewsScripting
0

When debugging scripts of any length it gets very tedious tracking down the source of runtime errors. The scripting console displays the error message but with no indication of where in the script the error occurred. A line number would be a major time saver.

Thanks (in anticipation :))

0

Syntax errors in scripts are hard to find. The script gets disabled. I found that copying the script to the clipboard and pasting it into the scripting console will display syntax errors fairly close to the offending line. You can then use the interactive syntax checking to find and correct the problem.

This does not help with debugging, still need to use System.out.println()

0

Hi Simon,

This is something we’re willing to look into, but it’s not certain whether or not it will be feasible. We’ll check it out though.

Ben

0

I second this request and I would like extend it:

Show the complete error message: Currently, the message shown in the console window is not always fully readable.

Add the line number where the error occurs AND the name of the script.

Best would be a solution like in Visual Studio or Eclipse: A “Message Window” where the error messages and warnings are listed in a table inlcuding the line number, a detailed description and a double-click with mouse mouse opens the corresponding script and the line where the error occurs is highlighted.

These features are not “nice-to-have”, they are key. I really hope that the Quantrix developers can deliver some improvements here in v4.1 or v4.2.

Dominik