Skip to content

Rust enum printing broken on Windows since Rust 1.65 #839

Open
@MichaelMcDonnell

Description

@MichaelMcDonnell

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 now enum2$<. 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    platform:windows-msvcThe issue is specific to windows-msvc ABI. See https://github.com/vadimcn/vscode-lldb/wiki/Windows

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions