Code::Blocks Forums

User forums => Help => Topic started by: rilesdg3 on January 22, 2012, 09:05:34 pm

Title: Watches not showing contents of Vector and Stringstream
Post by: rilesdg3 on January 22, 2012, 09:05:34 pm
Hello

I am using CB on Ubuntu, and I have set up a watch on a string vector
and the the watch does not show any data in the vector, instead I get
"Couldn't find method std::vector<std::basic...........

I have the same issue with a watch on a std::stringstream
"Couldn't find method std::stringstream

thank you for your help
Title: Re: Watches not showing contents of Vector and Stringstream
Post by: oBFusCATed on January 22, 2012, 11:32:20 pm
Switch to a debugger's nightly build version and disable the option 'Enable watch scripts'
Title: Re: Watches not showing contents of Vector and Stringstream
Post by: rilesdg3 on January 23, 2012, 04:42:31 am
I have a nightlie and I have set the switches as per the website
Title: Re: Watches not showing contents of Vector and Stringstream
Post by: Jenna on January 23, 2012, 06:26:20 am
I have a nightlie and I have set the switches as per the website
The "normal" nightly from trunk or the nightly from debugger-branch ?
Title: Re: Watches not showing contents of Vector and Stringstream
Post by: rilesdg3 on January 23, 2012, 01:27:00 pm
I do not know, how can I find out?

Title: Re: Watches not showing contents of Vector and Stringstream
Post by: oBFusCATed on January 23, 2012, 02:00:33 pm
If you have "Debug -> Active debuggers" menu, then you're using a debugger's branch nightly.
Title: Re: Watches not showing contents of Vector and Stringstream
Post by: rilesdg3 on January 23, 2012, 08:31:38 pm
I have svv build rev 7671 (2010-01-06 09:23:21) gcc
4.3.2 Linux/unicode 32-bit

I thought that this was the most recent nightly. if it
is not could you tell me how I can make sure that I
donwload the most recent and not just any nightly.

the Degbug-> Active debug option is not avaiable unless
I am looking in the wrong spot. I am looking at the debug
on the header bar were File, Edit View is located.

thank you
Title: Re: Watches not showing contents of Vector and Stringstream
Post by: Jenna on January 23, 2012, 08:46:15 pm
I have svv build rev 7671 (2010-01-06 09:23:21) gcc
4.3.2 Linux/unicode 32-bit

I thought that this was the most recent nightly. if it
is not could you tell me how I can make sure that I
donwload the most recent and not just any nightly.

the Degbug-> Active debug option is not avaiable unless
I am looking in the wrong spot. I am looking at the debug
on the header bar were File, Edit View is located.

thank you

That's a trunk version.
But on my server you can find 7711 from trunk and 7710 from the debugger-branch (at the moment).
See here (http://forums.codeblocks.org/index.php/topic,15777.msg106108.html#msg106108) for an instruction to install the debugger-branch from my repo.