News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

How do I view variable in debug mode?

Started by dhalka, August 01, 2006, 06:25:12 PM

Previous topic - Next topic

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


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.next.codeblocks.org/index.php/board,20.0.html
Linux versions are not on the berlios server, but Ubuntu builds are available (look here).