Hello,
I installed the SDK and the toolchain manually because I need to have multiple version of the SDK and everything works great from the terminal (build, flash).
I already used the extension with the SDK version 1.6.1 and the ARM GNU toolchain and everything worked as expected.
Now I would like to use the VS Code extension to debug my custom application with the SDK version 2.3.0 and the Zephyr toolchain and I have problem to debug the application as the extension does not find GDB. When I click on the "Debug" button I get the "Unable to find GDB in the installed toolchain".
The extension is configured to search for the toolchain in the PATH and when I open a terminal in VS Code I can see that arm-zephyr-*
binaries are in the PATH
.
The only way I found to be able to debug is to click on "Configure debugging" and set the gdbPath
manually in the launch.json
file but then when I click on the "Reload" button it reflash the binary instead of restarting the application which is really unconvenient as I have to stop the current session and reflash to restart the session.
I am running SDk version 2.3.0 and extension version v2023.2.56.
You can find attached the generated support information.
Regards