-
Notifications
You must be signed in to change notification settings - Fork 10
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
Map/Set in .natvis files #20
Comments
Some existing upstream issues for cross referencing: |
To avoid regressions, I recommend adding unit tests to verify your .natvis files work after you've gotten them working. Example here for To run those unit tests, aside from all the usual setup for contributing to rustc, you'll also want the debugging tools from the Windows SDK ( https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk ) or similar. |
…r=michaelwoerister debuginfo: Support for std::collections::Hash* in windows debuggers. Okay, I finally needed to debug code involving a HashMap! Added support for HashSet s as well. r? @michaelwoerister ### Local Testing Verified these are passing locally: ```cmd :: cmd.exe python x.py test --stage 1 --build x86_64-pc-windows-msvc src/test/debuginfo python x.py test --stage 1 --build i686-pc-windows-msvc src/test/debuginfo python x.py test --stage 1 src/tools/tidy :: MinGW MSYS2 ./x.py test --stage 1 --build x86_64-pc-windows-gnu src/test/debuginfo ``` ### Related Issues * #36503 * #40460 * rust-gamedev/wg#20
I am going to open this issue here as this wg probably has most members using windows so I think this can be tracked by us for now until someone starts actual work on it.
.natvis files don't support map and set data structures and it would be a great addition if they did have a nice debug visualizer for them.
If someone from this wg wants to pick it up then that would be great, if not I am considering setting up a bounty for it.
The text was updated successfully, but these errors were encountered: