Hopefully someone can help me. I’m working on a program using Atmel Studio, ICE and Debug wire running on an Arduino. (And hopefully this is the correct forum for this question. If not let me know and I’ll re-post it in the correct one.)
If I stop at a breakpoint in a C++ class and attempt to look at a member variable, instead of the value of the variable I see “Unknown Identifier”. I have the variable declared volatile and the optimization level set to None (-O0). Looking at the disassembled code, it looks like my member variable is being stored on the stack (not 100% sure of this however, might be in some other register).
I did look through past posts looking for an answer and didn’t see anything recent, so I’m hoping this issue has been fixed.
Anyway, anyone know how to get around this issue so I can actually watch variables?
Attached as a snippet of test code to illustrate this issue.