You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PRovide a way to actually enable the natvis diagnostics in VS Code #1432
There doesnt seem to be any way to enable the diagnostic output if you're using this with VS Code; I have no idea how to debug natvis issues without this ability.
Which does appear to log Natvis XML Schema errors: [Error] Error "There is an error in XML document (11, 9)." while reading file: /*path to file*/debug_views.natvis
But actual natvis representation syntax errors do not seem to get logged, unfortunately :(
Activity
WardenGnaw commentedon Dec 21, 2023
You should be able to enable natvis diagnostic in your launch.json.
E.g.
See https://github.com/microsoft/vscode-cpptools/blob/8d42c49b77aadb5ae4286f21efcd159601118805/Extension/package.json#L3730
nikitalita commentedon Dec 21, 2023
Ah, it needs to be in the
loggingobject, like this:nikitalita commentedon Dec 21, 2023
NValerij commentedon Jan 15, 2024
Andrew Wang (@WardenGnaw) could you write, please, in what window logs should appear?
SoloWingPixy2097 commentedon Dec 3, 2026
NValerij It seems any output from the
loggingsection is piped to VSCode'sDebug ConsolewindowYou can test this with:
Which does appear to log Natvis XML Schema errors:
[Error] Error "There is an error in XML document (11, 9)." while reading file: /*path to file*/debug_views.natvisBut actual natvis representation syntax errors do not seem to get logged, unfortunately :(