Created:
Nov 12, 2022 12:25 PM
| Last Modified: Jun 9, 2023 9:02 AM(603 views)
No question, just for documentation. Perhaps somebody else faced/faces a similar problem.
If the embedded log is enabled for a script window, error messages don't show up in the "official" log window.
They are sent to the embedded log at the bottom of the script edit window. Very convenient.
I just had a strange namespace error and couldn't understand why. An error helped me to understand the problem:
A faulty code was sent to a GraphBuilder object and (after clicking on the Graph) the script stopped. In the GraphBuilder Window, there was a message that details of the error can be found in the log:
But the "log" was empty. Actually: the embeded log of the fauly JSL code.
Digging deeper, I found the log message somewhere else:
The error happened in the GraphBuilder object - which was generated by the first script on the left, so the error shows up there. .. and not in the Log window of the right window - with the faulty code.
This also solved my original problem:
Functions in the JSL code on the right, which could not be accessed by code which was "implanted" into the Graphbuilder object (which is "at home" in code1 on the left).