The CodeLLDB extension currently doesn't show Rust enumerations correctly on Windows when using Rust 1.65 or newer. This is an example to demonstrate that.
Steps to reproduce:
- Open the folder in VS Code with the CodeLLDB and rust-analyzer extensions installed.
- Set a break point at the last line in main.
- Click the Debug link above the main declaration to start debugging.
- Notice that the
advanced_a
andadvanced_b
variables don't say which values they are. - Change the Rust version in rust-toolchain from 1.64.0 to 1.65.0
- Start debugging again and notice that enumeration values are no longer shown.
A screenshot of the example using Rust 1.64:
A screenshot of the example using Rust 1.65: