Hi all,
I'm working on a debugger for my AngelScript implementation and I'm wondering if it supposed to be allowed to have object handles pointing to Array's?
For example:
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Hi all,
I'm working on a debugger for my AngelScript implementation and I'm wondering if it supposed to be allowed to have object handles pointing to Array's?
For example:
While the compiler could deduce that aptr[1] is a null pointer access, it is valid to have array handles and to access them in that way.
What do you mean by 'The engine seems to stall at the 3rd line'?
The asIScriptContext::Execute should be returning -3 (asEXECUTION_EXCEPTION) when reaching this line, not stall. You can get more information on the exception that occurs (should be a null pointer access) by querying the context (see the GetExceptionInfo function from the helper add-on for one way of formatting the information into a human readable string).