Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using VC++ Debugger to view map contents

Status
Not open for further replies.

JJHN

Programmer
Sep 6, 2002
4
US
Does anyone know how to use the VC++ debugger, i.e., the watch window or quick watch, to show the contents of a map? Are there other viewing mechanisms besides the two I just mentioned?
 
JJHN,

AFAIK, you can't "see" collection elements just the collection object itself. To use the debugger, i write an iteration loop and step though it examining each element in the "watch window" or "variables window".

-pete

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top