Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: dhalka on August 01, 2006, 06:25:12 pm

Title: How do I view variable in debug mode?
Post by: dhalka on August 01, 2006, 06:25:12 pm
A silly question from a fresh newcomer.
Once I set a breakpoint and my program stops at it how do I see variable value? I am able to add the variable to so called "watch", but how do see the watch then? Do I need to issue commands to GDB?

Sorry one more time for the stupid question but I've already spent half an hour trying to learn how to debug my code.
Title: Re: How do I view variable in debug mode?
Post by: killerbot on August 01, 2006, 06:35:14 pm
menu Debug->Debugging Windows ->Watches
Title: Re: How do I view variable in debug mode?
Post by: dhalka on August 01, 2006, 06:35:42 pm
menu Debug->Debugging Windows ->Watches


Yup.
Thanks a lot.
Title: Re: How do I view variable in debug mode?
Post by: etechniker on September 27, 2007, 01:39:26 pm
i've got one problem and hope that someone can help me.

The only things listed under Debugging Windows are Back-Trace and CPU, nothing else.
But i need the option to open the Watches windows.

Running version is V1.0rc2


Hope someone can help

thanks
etechniker
Title: Re: How do I view variable in debug mode?
Post by: Jenna on September 27, 2007, 02:12:47 pm
The 1.0rc2 version is quite old (about 2 years).
Please use a latest nightly build.
http://forums.codeblocks.org/index.php/board,20.0.html
Linux versions are not on the berlios server, but Ubuntu builds are available (look here (http://forums.codeblocks.org/index.php/topic,6985.0.html)).