The aux library implements default handlers for compiler and runtime errors and a stack dumping.
sqstd_seterrorhandlers |
void sqstd_seterrorhandlers(
HSQUIRRELVM v)
;
initialize compiler and runtime error handlers, the handlers use the print function set through(sq_setprintfunc) to output the error.
- parameters:
-
- HSQUIRRELVM v
-
the target VM
sqstd_printcallstack |
void sqstd_printcallstack(
HSQUIRRELVM v)
;
print the call stack and stack contents.the function uses the print function set through(sq_setprintfunc) to output the stack dump.
- parameters:
-
- HSQUIRRELVM v
-
the target VM