-
Notifications
You must be signed in to change notification settings - Fork 26
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
Starting a debug session triggers the error "Don't know how to run. Try "help target"." #128
Comments
The key change you want is Consider doing a If you do {
"type": "gdbtarget",
"request": "launch",
"name": "Debug with eclipe",
"program": "${workspaceFolder}/armgcc/debug/led_blinky_cm0.elf",
"cwd": "${workspaceFolder}",
"verbose": true,
"openGdbConsole": true,
"gdb": "arm-none-eabi-gdb"
}
No worries - there is very little to no documentation. Where the above info should be is https://github.com/eclipse-cdt-cloud/cdt-gdb-vscode?tab=readme-ov-file#launch-settings but no one has written that yet. Please ask more questions. |
Thanks a lot for your quick reply. I am now trying two different approaches
Now regarding option 1, everything is working just fine, no problems Now regarding option 2, I would like to run the gdbserver using pyocd, so I added
Please find here my launch.json for the launch request
Sorry to be bombarding you with all of that. Any help would be appreciated |
The If you are interested in under the hood, this is because of how |
It is working now, thank you! |
Hi,
I am trying to use the extension to run the command arm-none-eabi-gdb <my_program.elf>. However, I am receiving the error
Here is my launch.json configuration,
It is the first time I use the extension, so please go easy on me and assume that I know nothing
Environment:
Machine: macOS, Sequoia 15.1, M2 chip
VScode version: 1.96.0
Extension version: 1.0.1
The text was updated successfully, but these errors were encountered: