This repository contains a .natvis file to visualise Eigen matrices and vectors with the ImageWatch plugin for Visual Studio.
The .natvis file is initially taken from https://gist.github.com/willyd/3ffd39a1b11fa4c09938.
RowMajor matrices are displayed correctly. However, ColMajor matrices are displayed transposed. It would be nice to fix that. Image Watch supports row and col strides but I couldn't get it to work.
Support making Image Watch open-source: https://developercommunity.visualstudio.com/t/open-source-image-watch-plugin/351613
Post & details about the strides issue on MS Developer Community: https://developercommunity.visualstudio.com/content/problem/181317/image-watch-and-eigen-support-custom-rowcol-stride.html
Other potentially useful natvis visualisers: https://github.com/aleksey-nikolaev/natvis-collection