kurtlawrence / papyrus

(Rust) repl
MIT License
440 stars 14 forks source link

Collect crash data in run() #33

Closed kurtlawrence closed 5 years ago

kurtlawrence commented 5 years ago

On a crash the run interface writes the stack to the screen, which then gets wiped as part of the unwinding.

Implement a system to dump the stderr to a file on a crash when using the Repl.run() method.