Customize panic handling
Open
c: core
feature
- Dominant language
- Rust
- Stars
- 5.2k
- Forks
- 312
- Avg merge
- 12h 59m
- Merged PRs (30d)
- 9
Description
When a panic in gdext or Rust code happens, it is currently caught and displayed as a Godot error and on the command line.
Users may want to customize this. Behaviors could be:
* Godot/console message of varying verbosity levels (message -> context -> stacktrace)
* Instantly crash (to trigger a breakpoint)
* Trigger a breakpoint without crashing (only possible with nightly [`breakpoint`](https://doc.rust-lang.org/std/intrinsics/fn.breakpoint.html) or platform specific crates/code)
* Custom handler (would need to ensure thread safety)
Contributor guide
Assessment
This issue has not been assessed yet.