MSVS debug visualization
Put all *.natvis
files to the %USERPROFILE%\My Documents\Visual Studio 2017\Visualizers\
Note. After I install MSVS 2019, there is no Visual Studio 2019\Visualizers\
- I found Visual Studio 2019
folder in my documents with only one subfolder Code Snippets
in there. So, I created Visualizers
subfolder manually and it works.
Note. Due to visual studio bug you can't combine different git repositories in the %USERPROFILE%\My Documents\Visual Studio 2017\Visualizers\
. Please vote for this bug/feature if you want to help.
I tried to extract image information for the "Image Watch" directly from QImage, but "Image Watch" ignores it.
So, for now, I've found only one way to show an image of type QImage: show QImageData. In the Autos/Locals/Watch window, select the image
item of the QImage object to display it with "Image Watch"
I added an alternate view of some STL containers. To see the original representation without deleting the stl containers.natvis
, place ,view(stl)
after your container name in the debug view window, for example this->curves,view(stl)