Does anybody know how to inspect the value of matrices or vectors when debugging programs using the Eigen Library in MS-Visual Studio?
Asked
Active
Viewed 3,663 times
3 Answers
5
For newer versions of VS (2012 and higher) download eigen.natvis and simply add it to your C++ project (as described here)
![](../../users/profiles/70915.webp)
Niki
- 15,188
- 5
- 41
- 72
0
As explained here there is an extension file in debug/msvc for that purpose.
![](../../users/profiles/1641621.webp)
ggael
- 25,464
- 2
- 48
- 62
-
1As described in the linked wiki, I tried adding visualizer.dat into autoexp.dat for MSVC 2015 after the [Visualizer] section, but it didn't work. After restarting MSVC the Eigen matrices and vectors are as opaque as always. – Joe Oct 16 '15 at 18:05