This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: STL debuging


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


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