Author Topic: How do I view variable in debug mode?  (Read 6120 times)

dhalka

  • Guest
How do I view variable in debug mode?
« 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.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: How do I view variable in debug mode?
« Reply #1 on: August 01, 2006, 06:35:14 pm »
menu Debug->Debugging Windows ->Watches

dhalka

  • Guest
Re: How do I view variable in debug mode?
« Reply #2 on: August 01, 2006, 06:35:42 pm »
menu Debug->Debugging Windows ->Watches


Yup.
Thanks a lot.

etechniker

  • Guest
Re: How do I view variable in debug mode?
« Reply #3 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

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: How do I view variable in debug mode?
« Reply #4 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).