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
»
Embedded development
(Moderator:
killerbot
) »
data structures are not expanded in watch window
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: data structures are not expanded in watch window (Read 8754 times)
Kaijun
Multiple posting newcomer
Posts: 25
data structures are not expanded in watch window
«
on:
May 06, 2015, 12:31:14 pm »
When I debug application in beagleboard with CB 13.12 in linux, I found data structure can not be expanded, it simply indicates address. When I used CB 10.x, it didn't have this problem.
Logged
oBFusCATed
Developer
Lives here!
Posts: 13413
Re: data structures are not expanded in watch window
«
Reply #1 on:
May 06, 2015, 01:26:16 pm »
I'm pretty sure this problem happens for all versions.
And this is limitation of the gdb/cli protocol we're using.
If you want to see the members then right click on the variable and choose the 'dereference blabla' menu option.
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!]
Kaijun
Multiple posting newcomer
Posts: 25
Re: data structures are not expanded in watch window
«
Reply #2 on:
May 06, 2015, 04:35:03 pm »
I found some structures can be expanded.
Logged
oBFusCATed
Developer
Lives here!
Posts: 13413
Re: data structures are not expanded in watch window
«
Reply #3 on:
May 06, 2015, 04:53:44 pm »
If the variable is not a pointer then the expansion will work.
If it is a pointer then you need to dereference it in the watch window manually.
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!]
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Embedded development
(Moderator:
killerbot
) »
data structures are not expanded in watch window