(fetch the filename as a string so I can see it with dbx, and set f_lineno);
call abort() when detecting an "undetected" error.
#ifdef LLTRACE
int lltrace = dictlookup(globals, "__lltrace__") != NULL;
#endif
+#ifdef DEBUG
+ /* Make it easier to find out where we are with dbx */
+ char *filename = getstringvalue(co->co_filename);
+#endif
/* Code access macros */
}
/* Extract opcode and argument */
+
+#ifdef DEBUG
+ f->f_lasti = INSTR_OFFSET();
+#endif
opcode = NEXTOP();
if (HAS_ARG(opcode))
else {
if (err_occurred()) {
fprintf(stderr, "XXX undetected error\n");
+ abort();
+ /* NOTREACHED */
why = WHY_EXCEPTION;
}
}