Home Forums Gamescan Chat42 About
* Login   * Register * FAQ    * Search
It is currently Thu 06-26-2025 2:09PM

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Examining C++ STL containers with gdb/ddd
PostPosted: Thu 05-11-2006 11:55PM 
Offline
Colonel
User avatar

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.


Top
 Profile E-mail  
    
 Post subject:
PostPosted: Fri 05-12-2006 1:14AM 
Offline
Major
User avatar

Joined: Mon 09-09-2002 5:37PM
Posts: 474

Source: Fidelity
I haven't played with gdb much, but this might help? http://www.stanford.edu/~afn/gdb_stl_utils/


Top
 Profile  
    
 Post subject:
PostPosted: Fri 05-12-2006 10:39AM 
Offline
Colonel
User avatar

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.


Top
 Profile E-mail  
    
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours


Who is online

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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group