-
Notifications
You must be signed in to change notification settings - Fork 737
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
Visual Studio Natvis visualization #227
Conversation
Looks like the only difference between wide and non-wide visualizers is the format specifier - |
contrib/natvis/pugixml.natvis
Outdated
<DisplayString Condition="(header & 0xf) == 3">node_pcdata value={value,na}</DisplayString> | ||
<DisplayString Condition="(header & 0xf) == 4">node_cdata value={value,na}</DisplayString> | ||
<DisplayString Condition="(header & 0xf) == 5">node_comment value={value,na}</DisplayString> | ||
<DisplayString Condition="(header & 0xf) == 6">node_pi name={name,na}</DisplayString> |
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.
node_pi should also display value (e.g. <?include me?>
)
Perfect, thanks! |
This PR adds custom visualization for pugixml types to improve debugging experience in Visual Studio.
All build mode switches expect for PUGIXML_COMPACT are covered. There will be a separate PR for compact mode.