User forums > Embedded development

data structures are not expanded in watch window

(1/1)

Kaijun:
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.

oBFusCATed:
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.

Kaijun:
I found some structures can be expanded.

oBFusCATed:
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.

Navigation

[0] Message Index

Go to full version