Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Can't see Mat members in the debugger (VS2012)

When I am stopped at a break point and add a Mat object to the watch window, visual studio displays "foo {...}" (foo is the name of the Mat object). I have no option to to examine the contents of the Mat object. Typically there is a plus sign to the left of the variable name to expand the object.

I am using the distributed openCV debug dlls for V2.4.4. I don't have the PDBs but I shouldn't need the pdbs just to examine the content of a Mat object.

The OpenCV calls are in a "Managed C++" project. A few months ago I was working on the same code on my old PC and I did not have this problem. On my new PC I have manually placed the openCV debug dlls into the same folder as the app. i.e. I have not set up any path or environment variables.

The old PC is W7 the new is W8. I have VS2012 update 2. I am compiling and linking with the debug setings and I've check "enable managed code debugging" in my aplication project. I installed the ImageWatch and that did not recognize any Mat objects either.

Any ideas?