Add variable to memory monitor [message #516710] |
Wed, 24 February 2010 16:29  |
Eclipse User |
|
|
|
I've read this help page on using the Memory Monitor Window, but I am still getting errors adding structure members to the memory window. http:// help.eclipse.org/help33/index.jsp?topic=/org.eclipse.cdt.doc .user/tasks/cdt_t_memory.htm
I can add an array or local variable to the memory window with out a problem. I get an error when trying to add a pointer inside a structure.
typedef struct _page_data_
{
INT16U data_len;
INT8U addr;
INT8U page;
INT8U *data;
}COMPACT_PAGE_DATA;
COMPACT_PAGE_DATA *tool;
When I try to add tool->data to the memory window I get the following error.
Add Memory Monitor Failed.
Expression 'tool->data' evaluated to invalid address value: 0x201fa180
Address 0x201fa180 is the address that 'data' points to, it is where the data I want to see is located!
If I add '&tool->data' to the memory monitor, I get the location where the tool->data pointer is stored
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04547 seconds