-
Notifications
You must be signed in to change notification settings - Fork 999
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pico SDK 2.1.0 Error when Launch Debug tab is started #2194
Comments
ping @will-v-pi as this sounds like it might be the VSCode plugin. |
I'm not sure - sounds like they're using something else in VSCode rather than our extension, as that folder structure looks odd. I think we need more information to help. |
Hello Will-v-Pi, Here is the content of the VSCode extensions.json file below from one of the example projects: { let me know if u need any other info to figure out the problem. any folder structure info? Thanks |
It sounds like you're clicking the wrong button to debug your project - if you're using the Pico VS Code extension, then you need to use it's Debug Project button (see section 4.3 of the getting started guide) which uses Cortex-Debug. If you're still getting errors then please reply with a full set of steps to reproduce this issue. |
I am able to Build/Compile the example projects from the SDK 2.1.0
but after successful build, when launching debug tab i get the below shown error lines on the debug console.
Any help to overcome these errors wud be good. Thanks
ERROR: Unable to start debugging. Unexpected GDB output from command "-exec-run". Don't know how to run. Try "help target".
The program 'C:\Users\vijay\Documents\pico-examples-master\hello_pwm\build\hello_pwm.elf' has exited with code 42 (0x0000002a).
The text was updated successfully, but these errors were encountered: