This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: debugging programs that use stl containers



not really. You can do 

(gdb) ptype my_vector

to see what gdb thinks of the type, and

(gdb) p my_vector

to see the internals of the object. This is supposed to work, but in my 
experience is a bit flaky.

-benjamin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]