# natvis-collection **Repository Path**: tootal/natvis-collection ## Basic Information - **Project Name**: natvis-collection - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2021-05-10 - **Last Updated**: 2024-03-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # natvis-collection 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](https://developercommunity.visualstudio.com/idea/373046/using-natvis-files-from-subfolder-of-documentsvisu.html) you can't combine different git repositories in the `%USERPROFILE%\My Documents\Visual Studio 2017\Visualizers\`. Please vote for this [bug/feature](https://developercommunity.visualstudio.com/idea/373046/using-natvis-files-from-subfolder-of-documentsvisu.html) if you want to help. ### QImage 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" ### STL containers 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)`