-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
STL.natvis
: Simplify visualization for string
#5177
Conversation
here's debugger view:
|
Note, it does break
|
It appears that debugger visualizer accepts `na` regardless if underlying char type
b8ad6ca
to
19e5fc4
Compare
This should be final update. Please read this msg with full details: #5176 (comment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, that's a lot of cleanup. Very nice! Thanks for all the investigation it took to make sure this was right.
Thanks! 😻 I pushed a comment update and two simplifications for wildcards.
For future reference, after code review begins, please avoid force-pushing changes as that makes it harder to incrementally review what changed. Update: On Discord, Casey figured out why adding stl.natvis to my project didn't appear to be taking effect:
I didn't realize that all loaded visualizers were effectively being thrown into a giant pile, and the preference order for file fallbacks was being applied after "what visualizer is more specialized". I thought the file fallbacks were coarse-grained, but the actual behavior makes more sense, even if it's annoying for this development scenario. This meant that we weren't actually testing anything, both before and after my changes ( |
I also updated CPPDebuggerVisualizers, it appears boost::string didn't even have correct visualizers. What's interesting, it has
Yes, I know that, on my side these two PRs were messed up, I ended up fixing them manually and force pushing final versions. Sorry for that. |
IIRC there was an issue with one of the compilers (clang-cl?) not emitting |
I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed. |
Thanks for this dramatic simplification, and congratulations on your second microsoft/STL commit! 🐈 🐈⬛ 😻 |
It appears that debugger visualizer accepts
na
regardless if underlying char type