This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Viewing struct data during debug

Hi,

I am a new user of Keil C compiler.
During debug, I am trying to watch struct data members. But all of them show 0x0000. And they are not updated. With other variables it's just working fine.

Any suggestions?

Thanks,
Titu

Parents
  • "Is it possible to use 'extern' for static structs in order to access them in other files?"

    No, it is not.

    I just explained what the 'static' keyword means, and so has Geert Vancompernolle; thus it should be obvious that 'extern' is meaningless with any 'static' item!

    See your 'C' textbook for further details.

Reply
  • "Is it possible to use 'extern' for static structs in order to access them in other files?"

    No, it is not.

    I just explained what the 'static' keyword means, and so has Geert Vancompernolle; thus it should be obvious that 'extern' is meaningless with any 'static' item!

    See your 'C' textbook for further details.

Children