You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's part of a backtrace from some code I was debugging:
thread 'main' panicked at 'index out of bounds: the len is 2 but the index is 2', ../src/libcollections/vec.rs:1307
stack backtrace:
1: 0x10c096928 - std::sys::backtrace::tracing::imp::write::hb03a0f85d9cccd1b
2: 0x10c0983df - std::panicking::default_hook::{{closure}}::h945d25329ef3fdd6
3: 0x10c097975 - std::panicking::default_hook::hc98de28314f7e4d1
4: 0x10c097ec6 - std::panicking::rust_panic_with_hook::hf47d6a84575c96f5
5: 0x10c097d64 - std::panicking::begin_panic::heb2e59d774c89ce6
6: 0x10c097c82 - std::panicking::begin_panic_fmt::h2640a71eaf059834
7: 0x10c097be7 - rust_begin_unwind
8: 0x10c0c1250 - core::panicking::panic_fmt::h8e7400f6438ecb75
9: 0x10c0c11c8 - core::panicking::panic_bounds_check::hc4942862a8542805
10: 0x10c083405 - <collections::vec::Vec<T> as core::ops::Index<usize>>::index::h73d44d5aa7af8d44
Of the 16 spots on the stack, it looks like 7 of them are reporting the backtrace's own activity. Isn't that a waste or irrelevant to debugging, unless you're debugging the backtrace/panic feature itself?
Here's part of a backtrace from some code I was debugging:
Of the 16 spots on the stack, it looks like 7 of them are reporting the backtrace's own activity. Isn't that a waste or irrelevant to debugging, unless you're debugging the backtrace/panic feature itself?
Meta
The text was updated successfully, but these errors were encountered: