hide unknown stackframes in non-debug mode
This commit is contained in:
parent
34fb5c275a
commit
3725bd58c7
2
src/vm.c
2
src/vm.c
@ -1094,8 +1094,10 @@ NOINLINE void vm_printPos(Comp* comp, i32 bcPos, i64 pos) {
|
|||||||
printRaw(vm_fmtPoint(src, s, comp->path, cs, ce));
|
printRaw(vm_fmtPoint(src, s, comp->path, cs, ce));
|
||||||
putchar('\n');
|
putchar('\n');
|
||||||
} else {
|
} else {
|
||||||
|
#ifdef DEBUG
|
||||||
if (pos!=-1) printf(N64d": ", pos);
|
if (pos!=-1) printf(N64d": ", pos);
|
||||||
printf("source unknown\n");
|
printf("source unknown\n");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user