You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a try/catch around Runtime.eval() can not catch such errors
because what happen internally is that the C++ already does a try/catch
and if an error is found it then stringify it to the script output.
by replacing Runtime.eval() with Runtime.returnEval()
we can return the output of the script into a string
and then we can test for some strings to check if a VerifyError occured
then we can format the output as if it was an internal script error
When a script dynamically load definitions
for example
because the definition is in "Person.swf"
the line
will generate a
VerifyError
The text was updated successfully, but these errors were encountered: