This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: STL debuging
- From: Keith Seitz <keiths at redhat dot com>
- To: Przemyslaw Sliwa <przemyslaw dot sliwa at db dot com>
- Cc: "insight at sources dot redhat dot com" <insight at sources dot redhat dot com>
- Date: Thu, 15 Jul 2004 10:09:31 -0700
- Subject: Re: STL debuging
- References: <OFB7944CF0.F237219C-ON80256ED2.005CE7AA@db.com>
On Thu, 2004-07-15 at 09:58, Przemyslaw Sliwa wrote:
> I have a question regarding STL debuging.
> I have a class which has a member of type <vector<valarray<double> > >.
> I would like to display all the elements of each valarray in the local variable view window.
> The insight debugger shows me only some strange first and last elements of the vector.
>
> Is it in general possible to see the values I assign to the elements.
Unfortunately, gdb is still a really pathetic debugger for c++, and it
cannot display STL containers in any way even remotely user-friendly, as
far as I've ever seen demonstrated. Since insight is gdb, insight
limited by what gdb can do.
There might be some twisted command-line way to do it, but you'd have to
ask the folks on the gdb list.
Sorry,
Keith