News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

how to use the "watches" to see a list inside a list(debugging question)

Started by yuvadius, July 29, 2012, 03:17:55 PM

Previous topic - Next topic

yuvadius

ok so i have just moved from the visual studio ide to the code blocks ide.
now when i debug and try to watch my list inside a list or some other list in the hierarchy except for the base list,
i can not see the values of the inner lists only the first base list apears to show the values correctlly.
lets say i have a list inside a list inside a list.
the first list shows the name of the next list, but the next list shows this "<std::_list_base_<int,std::allocator<int> > >" .
so why doesn't the list simply show the list that it contains?
i am actually using in my program a tree but i figured that lists would be easier to explain.

oBFusCATed

Try installing a recent nightly build, python enabled gdb and stl pretty printers for gdb.

For details on each topic search the forum as all the 3 topics have been discussed already.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

yuvadius