Launch gdbtarget fails at the workspace level (VSC-1552) #1394
Labels
bug-report
Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue)
ongoing
Ongoing Issue or PR, this label will be used for issue or PR which is to be excluded by stale bot
OS
Windows
Operating System version
Debian Trixie
Visual Studio Code version
1.96.2
ESP-IDF version
v5.5-dev-1050-gb5ac4fbdf9
Python version
3.12.8
Doctor command output
report.txt
Extension
{"message":"${workspaceFolder}/build/project_description.json doesn't exist.","stack":"Error: ${workspaceFolder}/build/project_description.json doesn't exist.\n\tat /dist/extension.js:2:1418922\n\tat new Promise ()\n\tat fe (/dist/extension.js:2:1418878)\n\tat jc.resolveDebugConfiguration (/dist/extension.js:2:1748101)\n\tat file:///out/vs/workbench/api/node/extensionHostProcess.js:122:99660","level":"error","timestamp":"2025-01-04T11:32:08.582Z"}
Description
When a debug
gdbtarget
launch configuration is set at the workspace level.code-workspace
it fails to run with no errors or messages shown.Having a
launch.json
file in multiple application directories causes them to all be displayed within the debug dropdown. This seems fine as they all launch. Having a global launch for the workspace (that should run using theESP-IDF Current project
) only seems to work with"type": "espidf"
and not with the"type": "gdbtarget"
.To make sure the issue wasn't the multi folder/project workspace that I normally use I created clean environment and a new workspace based on the blink example. I then added a
.code-workspace
file that pointed to.
only.This failed to launch the workspace version of gdbtarget while being able to launch the espidf version at the workstation level and also able to launch the folder level of both gdbtarget and espidf.
Thanks in advance.
Debug Message
none
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: