#signal #backtrace #crash #abort #stacktrace

nightly signal-backtrace

Print a backtrace even when a fatal signal is received

1 unstable release

0.1.0 Jul 29, 2022

#6 in #abort

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.4–3.5MB
~68K SLoC