4 releases
Uses old Rust 2015
0.2.1 | Feb 10, 2020 |
---|---|
0.1.2 | Nov 21, 2018 |
0.1.1 | Nov 21, 2018 |
0.1.0 | Nov 21, 2018 |
#663 in Debugging
30,121 downloads per month
3KB
debug_panic
This allows a program to terminate immediately and provide feedback to the caller of the program. Unlike panic!, debug_panic! statements are only enabled in non optimized builds by default.
Example usage
// panic
debug_panic!();
// panic with a custom message
debug_panic!("panic");