[Ubuntu 13.10, CB 13.12 from source]
I'm doing an assignment using gnu99 C. In it I have a struct defined in a header file I'm including in my current project. I'm using a pointer variable to point at an instance created using malloc().
When my program stops at a breakpoint, I can't see the contents of the structure's members in the watch list.
The watchlist correctly identifies the struct name the pointer is associated with, however it cannot be expanded to view its member values.
When I try to watch buffer->entries, the watchlist displays "There is no member named entries." in the value column.
In my source, the tooltip that pops up when I hover over the member's name shows: "entries | No symbol 'entries' in current context.".
I've tried dereferencing, typecasting, but nothing I can think of works. (When I'm debugging a C++ project, then do I get the "+" symbol next to objects.)
Would someone please explain what's going on and how to do this correctly?
Cheers,
Nap