debugging - debug C++ map in my IDE -
debugging - debug C++ map in my IDE -
i declare map like
std::map<int ,int > mymap;
then utilize like
if (mymap.find(pid)!=mymap.end()) mymap.find(pid)->second++; else mymap.insert(std::pair<int, int>(pid,1));
i debug it, found in debugger, shows
mymap <1 items> std::map<int, int> [0] <1 items> int
but not info related key , value in mymap, normal?
c++ debugging stl qt-creator
Comments
Post a Comment