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
Debugging with VS Code stopped working
-
- Posts: 229
- Joined: Wed May 02, 2018 12:12 pm
Re: Debugging with VS Code stopped working
This is weird. Can you try using skipVerifyAppBinBeforeDebug: true in your launch.json. Like this:
Also please share the troubleshooting information specified in here:
https://github.com/espressif/vscode-esp ... leshooting
Code: Select all
{
"version": "0.2.0",
"configurations": [
{
"type": "espidf",
"name": "Launch-name",
"request": "launch",
"skipVerifyAppBinBeforeDebug": true
}
]
}
https://github.com/espressif/vscode-esp ... leshooting
-
- Posts: 8
- Joined: Fri Jul 23, 2021 6:35 pm
Re: Debugging with VS Code stopped working
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!
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 34 guests