Add debug_levels and turn off stack_traces by default, but save enough info about the last interaction with the top-level loop to enable re-running to problem spot with debugging on if it happens, and it works! This is the first step towards the opt/non-opt-wrap work while maintaining debugability

This commit is contained in:
Nathan Braswell
2022-04-09 00:45:58 -04:00
parent 7116012be1
commit 1149363e62
4 changed files with 153 additions and 15 deletions

View File

@@ -2,9 +2,12 @@
st prints just code
done
env prints env, number offset?
done-ish
argument in variable?
?
exit with ret value
done
@@ -15,10 +18,14 @@ abort
call on error
done for eval symbol lookup
Speedup by off-by-default & rerun with debug on
done!
later
u/downp moves
print cleanup
done!