Hello, I've written the following code for an 8052 and have a problem with the debugger not showing the members of the stEvents2 array of structs. I can see that the stEvents2 consists of 10 structs of type EvNode, but I can't see the iEvType inside them. Anyone knows why???
struct EvNode { int iEvType; }; struct EvQueue { struct EvNode stEvents1; struct EvNode stEvents2[10]; }; struct Layer1 { struct EvQueue stEvQueue; }; struct Layer1 stLayer1; void main() { stLayer1.stEvQueue.stEvents1.iEvType=5; stLayer1.stEvQueue.stEvents2[5].iEvType=6; }
Probably unrelated, but I find that the uVision debugger is case-sensitive for structure member names, despite the manual saying that it isn't (which is true for all other cases!)