Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
Debugging when pointers are used
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Debugging when pointers are used (Read 6229 times)
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?
Logged
oBFusCATed
Developer
Lives here!
Posts: 13406
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.
Logged
(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
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.
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
Debugging when pointers are used