sq_setdebughook

Squirrel 2.2

sq_setdebughook

void sq_setdebughook(HSQUIRRELVM v);

pops a closure from the stack an sets it as debug hook. on.

parameters:
HSQUIRRELVM v

the target VM

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.