Discussion:
How to view contents of map while debugging
(too old to reply)
Alamelu
2008-09-30 13:20:01 UTC
Permalink
Hi,

How to view the contents of map (STL container objects), in the 'Watch'
window or in the quick watch while debugging code

Regards,
Alamelu
David Lowndes
2008-09-30 13:57:59 UTC
Permalink
Post by Alamelu
How to view the contents of map (STL container objects), in the 'Watch'
window or in the quick watch while debugging code
Which version of VS are you using?

Newer versions (2005 and later IIRC) have good support for viewing STL
container objects intelligently.

Dave
Alamelu
2008-10-02 07:09:01 UTC
Permalink
I am using VC6, how to view the contents of map using VC6 in quick watch, if
not possible what is the easiest way to look for?
Post by David Lowndes
Post by Alamelu
How to view the contents of map (STL container objects), in the 'Watch'
window or in the quick watch while debugging code
Which version of VS are you using?
Newer versions (2005 and later IIRC) have good support for viewing STL
container objects intelligently.
Dave
David Lowndes
2008-10-02 07:28:40 UTC
Permalink
Post by Alamelu
I am using VC6, how to view the contents of map using VC6 in quick watch, if
not possible what is the easiest way to look for?
As far as I know there is no easy way in VC6 - unless some 3'rd party
has written an autoexp.dat entry to do it. Other than that you just
have to use the debugger to drill down into the internal structures -
it's painful, which is why the newer versions are so much nicer in
that respect.

Dave

Loading...