medium10 pts · first answer countsfirmwaredebug-probesbuild-tools
Variable shows "optimized out"
At -O2 the debugger shows a local variable as "<optimized out>" right where you need to inspect it. What is the usual fix while debugging?
Discussion 0
Join free to post in the discussion.
Related questions
- First words read after resetEmbedded Systems Engineer
- Why registers are volatileEmbedded Systems Engineer
- Value of an uninitialised globalEmbedded Systems Engineer
- Where initialised globals come fromEmbedded Systems Engineer
- Signals used by SWDEmbedded Systems Engineer
- Garbage characters on the consoleEmbedded Systems Engineer
- I2C lines sitting at 0 VEmbedded Systems Engineer
- What a watchdog timer doesEmbedded Systems Engineer