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

watch on local variable

Hi All
i cannot watch the contents of local varibales in the keil u vision simlator however if varibales are golbal their contents can be watched.i hope somebody can belp me.
shakeel

  • Remember that local variables only "exist" within their local scope - so you cannot "see" the local variables in func_1 while you are not executing code within func_1.

    For static locals, you may need to fully-qualify the variable name with its scope - the syntax is something like

    \\module-name\function-name\variable-name
    look it up in the uVision Manual or online help - I always have to!