Page 1 of 1

Debugging with VS Code stopped working

Posted: Thu Sep 09, 2021 9:50 pm
by jmporter34567
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

Re: Debugging with VS Code stopped working

Posted: Fri Sep 10, 2021 6:26 am
by ESP_bignacio
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

Re: Debugging with VS Code stopped working

Posted: Fri Sep 10, 2021 6:41 am
by jmporter34567
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!