Author Topic: Debugging when pointers are used  (Read 6169 times)

Offline MagneticFlux

  • Single posting newcomer
  • *
  • Posts: 2
Debugging when pointers are used
« 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?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Debugging when pointers are used
« Reply #1 on: July 28, 2012, 08:59:48 pm »
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!]

Offline MagneticFlux

  • Single posting newcomer
  • *
  • Posts: 2
Re: Debugging when pointers are used
« Reply #2 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.