0

I defined a natvis file like this:

enter image description here

and I can see the effect in the Datatips when hovering over a variable name:

enter image description here

But the definition not use in the Local or Watch window in the debugger:

enter image description here

Only the stand view is shown, and the display string isn't taken into account at all.

Is there a particular option to tell MSVC to use natvis definitions in Local/Watch view too?

  • Natvis is also used in the Local and Watch window. Did you activate the logging of natvis errors? Are some logged? Side note regarding your natvis image: please don't post text as image, please post it as text. – Werner Henze Apr 19 '23 at 18:26

0 Answers0