Environment: Windows 10, PlatformIO with VSCode
platformio.ini:
[env:esp_wrover_kit]
platform = espressif32
framework = espidf
board = esp-wrover-kit
monitor_speed = 115200
debug_tool = ftdi
upload_tool = ftdi
I tried the debugger using the example 190118-152452-espdif-hello-world.
The debugger is generally working but shows some strange behaviour:
- if I single.step through the loop (line 33 to 37) variable i in the watch window is shown with the correct value (=10) only in the first cycle. In the following cycles it is shown as 0 ‘\000’, while hovering with the mouse over the source code shows the correct value.
- Breakpoints are sometimes respected, but mostly ignored
- Command Stop Debugging is ignored
- sometimes I get the error message that the program counter didn’t advance after a single step command (F10)
I am quite new with platformio, so maybe I missed something.
Can somebody help ?
Thank you, Helmut