I’m trying to debug an ESP32-C3 using the built-in JTAG Interface.
The debugger runs fine and I can see it’s activity through the various debug watch windows, however the C source presented is static, and doesn’t indicate where in the code the debugger is halted.
the Arduino framework prebuilt ESP-IDF libraries at its base, which have no debug symbols or source code map to them.
If you need to debug something in those ESP-IDF functions (which you almost never ever have to do unless it’s in a very special situation), chose a framework type that builds Arduino-ESP32 but with ESP-IDF from source instead of using the prebuilt libs. Such project template exist in e.g.
Maybe we’re talking past each other. When the debugging session has started up, can you press the “Pause” button and take a screenshot and post it here?