Page 1 of 1

ESP-IDF Debug Adapter - VSCode

Posted: Tue Jul 26, 2022 5:28 pm
by kacper2612
Hello,

I have started my adventure with ESP32C3 (ESP32-C3-DevKitM-1). I am getting to know the platform with a tutorial (https://github.com/espressif/vscode-esp ... ial/toc.md). Currently, I'm testing the debug (https://github.com/espressif/vscode-esp ... bugging.md) where I have little the problem.

I would like to check watchpoint functionality, but my "Variables Window" is empty. I can't see the windows such as peripherals, registers, memory and disassembly too. Have I forgotten any configuration?

I use the "blink example" project, Espressif IDF v1.4.0 and ESP-IDF v4.4.1 (stable).

My launch.json file:

Code: Select all

{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "espidf",
      "name": "Launch-name",
      "request": "launch"
    },
  ]
}
Thank you in advance for your support.

Re: ESP-IDF Debug Adapter - VSCode

Posted: Wed Jul 27, 2022 3:35 am
by ESP_bignacio
These features you want to try are not available in marketplace version 1.4.0

They will be available in the next release !

With regards to variables not shown, it depends on the program execution step. In this while loop there isn't any variable in memory. You could try the fibonacci template to check this functionality as done in the debugging tutorial watchpoint section.

Re: ESP-IDF Debug Adapter - VSCode

Posted: Wed Jul 27, 2022 6:52 pm
by kacper2612
Thank you so much for your assistance. I have tried the fibonacci template, now I can see local variables but I don't have all options like "Break on Value Read" etc. I only have "Set Value" and "Copy Value" ones.