Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: yuvadius on July 29, 2012, 03:17:55 pm

Title: how to use the "watches" to see a list inside a list(debugging question)
Post by: yuvadius on July 29, 2012, 03:17:55 pm
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.
Title: Re: how to use the "watches" to see a list inside a list(debugging question)
Post by: oBFusCATed on July 29, 2012, 04:15:39 pm
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.
Title: Re: how to use the "watches" to see a list inside a list(debugging question)
Post by: yuvadius on July 29, 2012, 04:55:57 pm
hmmm i dont quite understand what you are saying