News:

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

Main Menu

Debugging when pointers are used

Started by MagneticFlux, July 28, 2012, 08:52:08 PM

Previous topic - Next topic

MagneticFlux

When I debug a source file that uses pointer variables the Watches pane shows the address  < x = (int*) 0x3910d0 > but not the value stored there.
When I set a pointer to an array in another file it shows all the stored values no problem. Is there a setting that allows this like Visual Studio does by default?

oBFusCATed

No, you have to do the pointer dereferences yourself, sorry.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

MagneticFlux

Thank you for the quick reply. This is not a big problem to overcome for small, uncomplicated code. Code Blocks is still a pleasure to use unlike V.S. I have been using C::B as my prefered IDE and keeping V.S as a backup only.