Why I sometimes can't see my variables in "Locals View"?

There are different reasons

  1. The compiler optimized your program code (-o parameter), so these variables do not longer exist.
    • Choose a lower optimization level for your compiler.
    • Add the "volatile" keyword to the variables you wanna see. But be aware, all optimizations regarding this variables are then disabled.
  1. Your variables are declared "static".
    • Use the "Watch View" to browse your variables in.