ESP-IDF Debug Adapter - VSCode

kacper2612
Posts: 3
Joined: Tue Jul 26, 2022 4:54 pm

ESP-IDF Debug Adapter - VSCode

Postby kacper2612 » Tue Jul 26, 2022 5:28 pm

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.
Attachments
Zrzut ekranu 2022-07-26 192217.png
Zrzut ekranu 2022-07-26 192217.png (481.32 KiB) Viewed 2937 times

ESP_bignacio
Posts: 221
Joined: Wed May 02, 2018 12:12 pm

Re: ESP-IDF Debug Adapter - VSCode

Postby ESP_bignacio » Wed Jul 27, 2022 3:35 am

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.

kacper2612
Posts: 3
Joined: Tue Jul 26, 2022 4:54 pm

Re: ESP-IDF Debug Adapter - VSCode

Postby kacper2612 » Wed Jul 27, 2022 6:52 pm

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.
Attachments
Debug.jpg
Debug.jpg (616.8 KiB) Viewed 2878 times

Who is online

Users browsing this forum: Bing [Bot] and 3 guests