Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: MagneticFlux on July 28, 2012, 08:52:08 pm

Title: Debugging when pointers are used
Post by: MagneticFlux on July 28, 2012, 08:52:08 pm
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?
Title: Re: Debugging when pointers are used
Post by: oBFusCATed on July 28, 2012, 08:59:48 pm
No, you have to do the pointer dereferences yourself, sorry.
Title: Re: Debugging when pointers are used
Post by: MagneticFlux on July 28, 2012, 09:30:08 pm
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.