Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to view the contents of stl::map in debug

How to view the contents of stl::map in debug

Scheduled Pinned Locked Moved C / C++ / MFC
c++graphicsdebuggingtutorialquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kbshibukumar
    wrote on last edited by
    #1

    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

    N J 2 Replies Last reply
    0
    • K kbshibukumar

      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

      N Offline
      N Offline
      Nibu babu thomas
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • K kbshibukumar

        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

        J Offline
        J Offline
        Jijo Raj
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups