More debug work, including adding the code tracking throught marked_array for the stack traces, calling into debug when eval has a symbol not defined error (just the first error spot to do this, we can add them all gradually), allowing abort for debug, and adding (exit val) for debug that resumes execution

This commit is contained in:
Nathan Braswell
2022-04-05 00:30:03 -04:00
parent 99e24ac6a0
commit 29f02810f8
2 changed files with 129 additions and 81 deletions

25
debug_plans Normal file
View File

@@ -0,0 +1,25 @@
st prints just code
env prints env, number offset?
argument in variable?
exit with ret value
done
abort
done
call on error
done for eval symbol lookup
later
u/downp moves
print cleanup