Show HN: Unbug 0.5 – Rust runtime debug assertions
Category: library
Tags: rust, debugging, breakpoints
Score: 6.5/10 (Innovation: 5, Technical: 7, Documentation: 8, Utility: 6)
Unbug is a Rust crate providing debug breakpoint assertions that integrate with popular debuggers and tracing, enabling developers to catch errors during debugging without panics or unnoticed logs. Its novel approach of automatically shimming out breakpoints in release builds and offering macros like `ensure!` and `debug_fail` for conditional breakpoints makes it a practical tool for Rust developers, especially in game development with Bevy support.
Target audience: backend devs, game developers, systems programmers
Repository: https://github.com/greymattergames/unbug/releases/tag/0.5 · Rust · Apache-2.0 · 197 stars
View on Hacker News