PIC32 AI compiler
Given the following code snipped, I want to "see" the complete structure the pointer is pointing too, not just the memory location in the debugger.
Code: Select all
struct myStruct
{
int x;
int y;
};
struct myStruct struct1;
struct myStruct *pStruct1;
int main(void)
{
struct1.x = 1;
struct1.y = 2;
pStruct1 = &struct1; // <---- how do I see this pointer expanded to the structure?
while (1)
{
}
return 0;
}
What I need is to expand the "pStruct1" pointer to show all the values in the struct...struct1 --> can expand into complete structure
pStruct1 --> 0xa0 00 02 00 (address only)
pStruct1->x shows the value of x
~Kam