-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Bug: didn't catch panics #12907
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
We don't have any support for debugging except pointing your debugging extension (CodeLLDB, Native Debug) in the right direction. Those extensions may or may not have support for catching exceptions when they are thrown. |
In CodeLLDB it's these ones, but they don't work for me either: Acutally, it doesn't work at all: rust-lang/rust#21102. |
@lnicola I have crossposted it to CodeLLDB, and hope this issue can be settled |
It's not actually CodeLLDB either, since neither |
@lnicola This issue only happens recently, not a problem before, so I think there is a newly introduced bug somewhere. |
Ah, then maybe try compiling with an older Rust version. |
rust-analyzer version: 0.3.1140-standalone (7e2b983 2022-07-24)
rustc version: rustc 1.62.1 (e092d0b6b 2022-07-16)
relevant settings: (eg. client settings, or environment variables like
CARGO
,RUSTUP_HOME
orCARGO_HOME
)When panicking, the debug session exited without catching the source of panic. But the breakpoint is still working fine. It is on VSCode.
The text was updated successfully, but these errors were encountered: