Skip to content
This repository was archived by the owner on Nov 18, 2022. It is now read-only.
This repository was archived by the owner on Nov 18, 2022. It is now read-only.

Plugin feeding some invalid data to debugger in Visual Studio Code #768

@DeanRoddey

Description

@DeanRoddey

I wasn't sure whose issue this was so I started on the VSC repo. I'm having some problems with some values being displayed correct when debugging Rust in VSC. They said that this had to be the Rust plugin, which is responsible for providing the already formatted values to the debugging interface. Here's a link to the original issue over there. One of the Rust guys there responded and said you could ping him if you had questions:

microsoft/vscode#95580

You can see here a local character being created, and what shows up for in the debugging pane. All characters show up this way. The actual character value doesn't matter, it always shows an error instead of the value.

RustCharDbg

There's also apparently some issue with displaying string slices which may be related. The original string will be OK, then a slice gets passed to a method, and inside there it's completely whacked, showing a huge slice size and garbage in the values. I can get a screen cap of that if you need.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions