My problem is basically that whenever I debug using Visual Studio (2015 Community edition on Windows 10 machine), and I try to hover over a variable or look at a variable in the locals or autos section of the debug view, I don't see the actual data saved in the variable.
This is a problem I have seen with both strings and vectors. For strings, it will show npos=4294967295
and if you keep clicking the drop down arrows, you will eventually get to the actual string saved in that variable; only after digging into the internal structure of the variable, like std::_String_alloc
and _Mypair
and _Myval
, etc. Same for vectors.
Has anyone ever experienced this problem or knows how to fix it?