Crates.io | focustrace |
lib.rs | focustrace |
version | 0.2.0 |
source | src |
created_at | 2024-06-09 18:21:15.829483 |
updated_at | 2024-06-09 18:28:12.041934 |
description | Small utility to print a backtrace containing only functions called from the current crate on panic. |
homepage | |
repository | https://github.com/cmarkh/focustrace |
max_upload_size | |
id | 1266547 |
size | 3,141 |
Small utility to print a backtrace containing only functions called from the current crate on panic.
It's a simple extension of the backtrace crate.
fn main() {
focustrace::setup();
}
panicked at src/lib.rs:43:9:
Test panic
src/lib.rs:4: focustrace::setup::{{closure}}::haa6742a590bf138b
src/lib.rs:43: focustrace::tests::test_setup::h6f4a089fcd9ad7b4
src/lib.rs:41: focustrace::tests::test_setup::{{closure}}::ha937ffcfc3bdf67a