-
Notifications
You must be signed in to change notification settings - Fork 246
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
Rust enum printing broken on Windows since Rust 1.65 #839
Comments
This one won't be fixed for a while. Lldb does not support accessing static class members, which is needed to decode new style msvc enums. |
Ok, thanks! Is there an open issue for accessing static class members in the LLDB issue tracker? |
Not that I know of. |
AFAIK this has been fixed in LLVM 18.0.0 |
Are you sure about that?
|
My bad on the wording - the LLVM issues blocking this from being fixed in codeLLDB have been resolved. |
Ah I see. |
OS: Windows_NT x64 10.0.19045
VSCode version: 1.74.2 (user setup)
CodeLLDB version: v1.8.1
Compiler: Rust 1.65.0
Debuggee: x86_64-windows-msvc
The CodeLLDB extension currently doesn't show Rust enumerations (sum type) correctly on Windows when using Rust 1.65 or newer. It worked fine in 1.64.
I noticed that
enum$<
is nowenum2$<
. It was changed in this commit that was part of Rust 1.65:rust-lang/rust#98393
I have created a small example that can be used to reproduce the problem and it includes screenshots:
https://github.com/MichaelMcDonnell/enum_debug
Thank you!
The text was updated successfully, but these errors were encountered: