save states are something i've seen very few debugger-enabled interpreters have. on paper, it would probably be as easy as storing the state of the interpreter in a format like a core dump (only requires the ability of reflection)
- Posts
- 1
- Comments
- 4
- Joined
- 6 mo. ago
- Posts
- 1
- Comments
- 4
- Joined
- 6 mo. ago
actually, in the production version i check if the sigsegv handler already got triggered at the start of the handler (to avoid a nested sigsegv) and just exit without any fancy error printing if that happened
i left it out of this meme bc it would've cluttered up the code snippet.