Open dzid26 opened 1 year ago
This partially fixed itself somehow. Maybe VScode pushed an update?
main.c
when in disassembly mode and using default environment.
The main.c can be found by disassembly if I explicitly switch to debug environment:
I am currently working with this repo if someone wanted to reproduce it.
Edit: It didn't switch to disassembly in "Auto" mode again. I needed to manually select a specific debug-type environment. Globals work most of the time, but occasionally they don't show up. Static variables, I believe, never show up.
Using a separate environment for debugging (as in the example) causes global variables to disappear and switching to assembly impossible.
Debugging session:
Globals are still accessible in debug console (e.g.
p a
returns 5 correctly)Platformio.ini
References: Original issue Similar issue OP issue is probably unrelated but linking for others.
Workaround is to point the environment switcher from default environment to the debug one.