Debugging with VS Code stopped working

jmporter34567
Posts: 8
Joined: Fri Jul 23, 2021 6:35 pm

Debugging with VS Code stopped working

Postby jmporter34567 » Thu Sep 09, 2021 9:50 pm

Hi,
I use a ESP-PROG JTAG interface for downloading and debugging ESP-IDF applications with VS Code. I had been able to both download and debug multiple applications successfully. Suddenly today, I can still download my applications, but my attempts to debug any of them (Run->Start Debugging) produce a popup that I hadn't seen before:
"Cannot read property 'message' of undefined.
Source: Espressif IDF (Extension)"

If I retry, I get a different popup:
"Couldn't find a debug adapter descriptor for debug type 'espidf' (extension might have failed to activate)"

If I close VS Code, reopen and retry, the first popup above reappears consistently.
Any known solutions or suggestions would be much appreciated.
Thanks

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

Re: Debugging with VS Code stopped working

Postby ESP_bignacio » Fri Sep 10, 2021 6:26 am

This is weird. Can you try using skipVerifyAppBinBeforeDebug: true in your launch.json. Like this:

Code: Select all

{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "espidf",
      "name": "Launch-name",
      "request": "launch",
      "skipVerifyAppBinBeforeDebug": true
    }
  ]
}
Also please share the troubleshooting information specified in here:

https://github.com/espressif/vscode-esp ... leshooting

jmporter34567
Posts: 8
Joined: Fri Jul 23, 2021 6:35 pm

Re: Debugging with VS Code stopped working

Postby jmporter34567 » Fri Sep 10, 2021 6:41 am

Hi,
I tried the skipVerifyAppBinBeforeDebug: true that you suggested in launch.json with one of my applications, and I'm able to debug it again now. I'll test with my other applications tomorrow (it's late here) and report back. Any idea why this suddenly became necessary after months of successfully debugging without it ?
Thanks!

Who is online

Users browsing this forum: No registered users and 10 guests