User forums > Using Code::Blocks

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

(1/1)

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.

yuvadius:
hmmm i dont quite understand what you are saying

Navigation

[0] Message Index

Go to full version