Oopsie woopsie!

A crate to make debugging unexpected panics easier both on end-user machines. Provides a panic handler which generates a helpful panic message and saves a backtrace, system information and minidump to a file. This is intended to be used only on builds that are distributed to other people.

Features

Usage example

``` fn main() { // Add #[cfg(not(debugassertions))] here if you want to only enable these in release builds std::panic::sethook(Box::new(|panicinfo: &std::panic::PanicInfo| { oopsiewoopsie::setpanichandler(panicinfo, &oopsiewoopsie::PanicHandlerConfig{ filedir: Some("D:/Projects/oopsiewoopsie_test".into()), }) }));

panic!("Goodbye, world!");

} ```

Reminder: This crate only works for panics. It cannot debug crashes. If you need crash debugging, you need to use an out-of-process crash handler such as Breakpad or Crashpad. There is also EmbarkStudio's Crash handling utility crates.