Post subject: Examining C++ STL containers with gdb/ddd
Posted: Thu 05-11-2006 11:55PM
Colonel
Joined: Sun 08-18-2002 10:33AM Posts: 751 Location: Kansas City, KS
Source: Off Campus
Anyone know how to get gdb to display the contents of the various STL containers?
_________________ It is by caffeine alone I set my mind in motion.
It is by the beans of Java the thoughts acquire speed,
the hands acquire shaking, the shaking becomes a warning.
It is by caffeine alone I set my mind in motion.
Joined: Sun 08-18-2002 10:33AM Posts: 751 Location: Kansas City, KS
Source: Off Campus
Looks like a hack, but a far more elegant hack than the ones I've been seeing. I'll take a look at it later. Thanks!
_________________ It is by caffeine alone I set my mind in motion.
It is by the beans of Java the thoughts acquire speed,
the hands acquire shaking, the shaking becomes a warning.
It is by caffeine alone I set my mind in motion.
Users browsing this forum: No registered users and 2 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum