sq_setnativedebughook |
void sq_setnativedebughook(
HSQUIRRELVM v, SQDEBUGHOOK hook)
;
sets the native debug hook. When a native hook is set it overrides any previously set native or non native hooks. if the hook is NULL the debug hook will be disabled.
- parameters:
-
- HSQUIRRELVM v
-
the target VM
- SQDEBUGHOOK hook
-
the native hook function
- remarks:
-
In order to receive a 'per line' callback, is necessary to compile the scripts with the line informations. Without line informations activated, only the 'call/return' callbacks will be invoked.