User forums > Using Code::Blocks
Where to watch?
(1/1)
jiapei100:
Hi, I'd love to watch my concerned variables' values.
Where to watch?
Right click the variable and click "watch", nothing displayed at all....
Cheers
JIA
jiapei100:
ok, now, watched.
By http://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks
However, for pointer, it only shows the address.
Unlike Visual Studio or Eclipse, some times, it may display the values that this pointer is pointing to.
So, how to see the values that this pointer is pointing to?
In my case:
--- Code: ---m_pImgRetrieved = 0x84d7d18
--- End code ---
I'd love to watch
--- Code: ---m_pImgRetrieved->depth
--- End code ---
instead. How to ?
Best Regards
JIA
oBFusCATed:
Use
--- Code: ---*my_pointer
--- End code ---
jiapei100:
Thanks so much.!!!
--- Quote from: oBFusCATed on January 07, 2010, 03:42:14 pm ---Use
--- Code: ---*my_pointer
--- End code ---
--- End quote ---
Navigation
[0] Message Index
Go to full version