Visual Studio 2012 - Values in debug watch are not displayed when compiled with /clr -


the debug watch doesn't display values objects std::vector example. on other hand, values of local integers displayed.

when compile project without /clr option displayed correct.

i tried different debugmodes (mixed, auto, managed...) , played around different settings jit, "enable .net framework source stepping" , symbol server. problem remained. (after each change of settings project clean/build again)

//#pragma managed(push, off) int _tmain(int argc, _tchar* argv[]) {     int = 5; //displayed correctly in debug watch     vector<myint> vec;     myint x(4);     vec.push_back(x); // displayed name: "vec", value: "{...}" (no option expand it)     vec.push_back(x+x);     vec.push_back(std::move(x));      std::vector<int> vec2;     vec2.push_back(a);        return 0; }  //#pragma managed(pop) 


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -