nightly signal-backtrace

Print a backtrace even when a fatal signal is received

1 unstable release

0.1.0 Jul 29, 2022

#1374 in Development tools

MIT license

3KB

signal-backtrace

Print a backtrace even when a fatal signal is received.

Usage

Install the global handler before your code crashes:

fn main() {
    signal_backtrace::install();

    // the rest of your code
}

Limitations

Only available on nightly.

Dependencies

~2.3–7.5MB
~67K SLoC