Closed
Description
Recently, I started playing with the new VS 2017 Community edition. Specifically, I wanted to see if Rust debugging works with VS. Good news: out of the box, you can attach to running Rust applications compiled in debug mode, pause them, and begin debugging.
The experience isn't perfect, and I hope to grow this issue to include the places where the experience can be improved.
- u8/i8 are not shown in debugger (i8 and u8 not correctly shown in MSVC debugger #36646)
- std lib needs visualisers for std structs like String, Vec etc. WIP effort (though Vec, LinkedList, VecDeque, String, and Option NatVis visualizations #39843 looks better)
- &str isn't understood by VS (can't natvis)
- watches for shadowed variables confuse VS
Metadata
Metadata
Assignees
Labels
Area: Debugging information in compiled programs (DWARF, PDB, etc.)Category: An issue tracking the progress of sth. like the implementation of an RFCToolchain: MSVC, Operating system: WindowsRelevant to the compiler team, which will review and decide on the PR/issue.Issues about issues themselves ("bugs about bugs")