I have a program that runs (mostly) but has a coding error.
When the error is encountered the normal screen disappears for a very brief moment and error is displayed. Then error display disappears and normal screen resumes.
The time of error display is very short and happens once in a long while, so I am not able to read the error display.
Is there some way of stopping the program on this kind of error?
Little details about where and when, this could be a popup window, not an error, but anyway, the errors are displayed permanently in the LOG window.
So open up Window->Log and when error happens there you will see the error listed with line numbers and formula name that caused it.
BTW the formula always stops execution on error, but it doesn't "hang" the program as program needs to be responsive. So for example if real time data arrive it will re-execute formula and continue to work fine if error was intermittent (for example due to unusual condition that is not properly handled in your formula). Still the LOG window will show all those intermittent errors for you to see and analyse and fix.