News:

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

Main Menu

Blank watches windows

Started by plentyofbugs, March 30, 2011, 03:01:55 PM

Previous topic - Next topic

plentyofbugs

Hello everybody,

I'm using Codeblocks 10.05 on Windows XP. I can debug my code, insert a breakpoint and use next line button. However, the watches window doesn't display anything: it remains blank. Even if I manually add a variables to watch, I can't see anything.
Anyone to know what's the problem and how to solve it?

Thanks

oBFusCATed

Please try the debugger branch nightly build and report if you still can't see the watches?
Also read this: http://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks
(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!]

plentyofbugs

Thank you oBFusCATed,

I installed the nightly of 02 April but it didn't solve the problem.
Even the link you suggested wasn't helpful, as I set only the basic options in my projects:
-project name: enable all compile warnings (overrides many other setting)>> [-Wall];
-debug:prodice debugging symbols [-g];
-release: strip all symbols from binary (minimizes size) [-s],
     Optimaze even more (for speed) [-O2].

I have the same problem even in Windows 7.
Thank you for your help

m.29

Don't use -s option in debug mode, because it strips all debugging symbols added by -g option. I also suggest use -O# option only in release because some variables could be optimized and will not watchable.
Windows XP SP3, wxWidgets 2.8.11, C::B DEBUGGER BRANCH nightly builds