backtrace-rs
backtrace-rs copied to clipboard
Backtraces in Rust
To reproduce: ```shell $ git clone https://github.com/ashi009/backtrace-rs.git $ cd backtrace-rs ``` When `--remap-path-prefix` is not set, we can see the source info for 4-7: ```shell $ cargo run Compiling libc...
## Problem - I'm using eyre as my error handler and trying to write a custom error handler using eyre [hook](https://docs.rs/eyre/latest/eyre/fn.set_hook.html) - Basically, a backtrace will be captured when error...
When a program uses all available file descriptors and then panics, the backtrace contains no symbolic information, line numbers, and such like. ## Example output ~~~ Consuming all available file...