https://github.com/bjorn3/pretty_backtrace
Pretty backtraces for rust
https://github.com/bjorn3/pretty_backtrace
ansii backtrace rust
Last synced: 12 months ago
JSON representation
Pretty backtraces for rust
- Host: GitHub
- URL: https://github.com/bjorn3/pretty_backtrace
- Owner: bjorn3
- License: apache-2.0
- Created: 2019-02-09T16:52:47.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-08-08T11:11:37.000Z (over 4 years ago)
- Last Synced: 2025-03-10T18:11:33.936Z (12 months ago)
- Topics: ansii, backtrace, rust
- Language: Rust
- Homepage:
- Size: 231 KB
- Stars: 14
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# Pretty backtraces for rust
[](https://crates.io/crates/pretty_backtrace)
[](https://travis-ci.com/bjorn3/pretty_backtrace)
```rust
pretty_backtrace::setup();
panic!("Bomb!");
```
Pretty backtraces are normally only enabled when `RUST_BACKTRACE=pretty` to prevent breaking tools
which parse printed backtraces. If you want to always enable pretty backtraces use `force_setup`.
