I am trying to embed ITK’s natvis file in to the debug database, as per /NATVIS linker option and Add a .natvis file to a C++ project. My branch with a very small commit is here. As far as I can tell, it is not working, and I don’t know why. Do you have any suggestions?
CMake doesn’t really have natvis support. Many related issues are linked from this one.
I saw this comment and thought that it is supported. I guess I read too much between the lines
That probably works for the Visual Studio generator, but Ninja and NMake files are still oblivious.
I am trying it with Visual Studio, and it is not working. There is no
/natvis on the command line, and the variables in the watch do not look right.
Hrm. Then that lack of testing would seem relevant. Natvis support probably just needs some dedicated focus to implement.