This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: debugging programs that use stl containers
- To: "Craveiro, Marco" <Marco dot Craveiro at solvay dot com>
- Subject: Re: debugging programs that use stl containers
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Mon, 2 Apr 2001 15:25:20 -0700 (PDT)
- cc: "'libstdc++ at gcc dot gnu dot org'" <libstdc++ at gcc dot gnu dot org>
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