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:
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).
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game