How to view the contents of stl::map in debug
-
Can you please tell me a method to view the contents of stl::map in watch window, just as we do for stl::vector?] Thanks in advance, Shibu
-
Can you please tell me a method to view the contents of stl::map in watch window, just as we do for stl::vector?] Thanks in advance, Shibu
Found this[^], is it useful for your purpose? VC8 does list map contents in the debugger, not sure if array index operator will work in the debugger watch window.
Nibu babu thomas Microsoft MVP for VC++ Code must be written to be read, not by the compiler, but by another human being. Programming Blog: http://nibuthomas.wordpress.com
-
Can you please tell me a method to view the contents of stl::map in watch window, just as we do for stl::vector?] Thanks in advance, Shibu
Shibu-anna, :rolleyes: Have a look at ToDo Cached Add-on for Visual C++[^]. It provides STL container expanding support for vector, list, map, multimap, set and multiset. Regards, Jijo.
_____________________________________________________ http://weseetips.com[^] Visual C++ tips and tricks. Updated daily.