Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: snaps on March 30, 2009, 01:59:11 pm

Title: Dereferencing pointers in variables view of Debugger
Post by: snaps on March 30, 2009, 01:59:11 pm
Hi,

I read in a post from way back in 2006 that I should be able to dereference a watch in the c::b debugger via a context menu (I assume this means right-clicking on the reference in question).  However, I don't see this option I only see


----------------
Add watch
watch '*this'
----------------
change value...
-----------------
load watch file
save watch file
------------------
delete all watches
-----------------

Has this option been removed or am I being ditsy.

I am using SVN version 5486 on Intrepid.

Cheers,

Tom

Title: Re: Dereferencing pointers in variables view of Debugger
Post by: Jenna on March 30, 2009, 02:04:46 pm
If it is a local variable or a function argument, you have to add it explicitely to watch window, before you can dereference or edit it.