A useful debug-feature in egui is pressing down all modifiers keys and hovering any widget to see its backtrace (only in dev builds). Unfortunately this is incompatible with panic="abort", something I just now discovered.
So I removed panic="abort" from Cargo.toml for dev builds. If the backtrace returns empty-handed, I also suggests this as a fix to the user. Finally, I cleaned up the backtraces a bit, making them slightly shorter and more readable.
A useful debug-feature in egui is pressing down all modifiers keys and hovering any widget to see its backtrace (only in
dev
builds). Unfortunately this is incompatible withpanic="abort"
, something I just now discovered.So I removed
panic="abort"
fromCargo.toml
fordev
builds. If the backtrace returns empty-handed, I also suggests this as a fix to the user. Finally, I cleaned up the backtraces a bit, making them slightly shorter and more readable.