User forums > Using Code::Blocks

How do I view variable in debug mode?

(1/1)

dhalka:
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.

killerbot:
menu Debug->Debugging Windows ->Watches

dhalka:

--- Quote from: killerbot on August 01, 2006, 06:35:14 pm ---menu Debug->Debugging Windows ->Watches

--- End quote ---


Yup.
Thanks a lot.

etechniker:
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

Jenna:
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).

Navigation

[0] Message Index

Go to full version