I'm trying to use new debug visualizers in my project, but something happened to Visual Studio and it does not pick up my natvis files anymore. I tried copying them to %USERPROFILE%\My Documents\Visual Studio 2012\Visualizers
as well as to \Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Packages\Debugger\Visualizers
but it still fails.
It did work a week ago, but something has broken since then.
I tried repairing Visual Studio but it didn't help.
I tried enabling EnableNatvisDiagnostics
in the registry but I didn't get any diagnostic messages in the Output window
.
The preinstalled natvis files were working fine though. So I tried to remove one of the preinstalled natvis files: stl.natvis
from Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Packages\Debugger\Visualizers
but Visual Studio was still showing vector
as if it had access to stl.natvis
file. Does anybody know how to fix this? Is there any other location where Visual Studio loads natvis files from? Maybe there is a registry key for that?
PS. I tried using ProcessMonitor
to find out the location from which Visual Studio loads natvis files, but I couldn't find any references in ProcessMonitor
s logs.