#signal #backtrace #crash #stack-trace #abort

nightly signal-backtrace

Print a backtrace even when a fatal signal is received

1 unstable release

0.1.0 Jul 29, 2022

#1239 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.5–3.5MB
~73K SLoC