|
|
@@ -12,7 +12,7 @@ void sqstd_printcallstack(HSQUIRRELVM v)
|
|
|
SQFloat f;
|
|
|
const SQChar *s;
|
|
|
SQInteger level=1; //1 is to skip this function that is level 0
|
|
|
- const SQChar *name=0;
|
|
|
+ const SQChar *name=0;
|
|
|
SQInteger seq=0;
|
|
|
pf(v,_SC("\nCALLSTACK\n"));
|
|
|
while(SQ_SUCCEEDED(sq_stackinfos(v,level,&si)))
|
|
|
@@ -24,7 +24,7 @@ void sqstd_printcallstack(HSQUIRRELVM v)
|
|
|
pf(v,_SC("%s:%d:0 *FUNCTION [%s()]\n"),src,si.line,fn);
|
|
|
level++;
|
|
|
}
|
|
|
- level=0;
|
|
|
+ //level=0;
|
|
|
pf(v,_SC("\nLOCALS\n"));
|
|
|
|
|
|
for(level=0;level<10;level++){
|