2019-10-11 01:02 PM
Using STM32CubeIDE version 1.0.2, I can create a "local C/C++ application", in this case, "hello world" that simply prints to the console, and it will create the proper file structure and compile a working x86 executable. I can execute this program under Windows 10 with no issues.
When I try to debug the application from within STM32CubeIDE, I get a an error:
Problem Occurred:
'Launching hello-world.exe' has encountered a problem.
Error with command: gbd --version
When I click on the "Details >>>" button, I see:
Error with command: gdb --version
Cannot run program "gdb": Launching failed
Is there something else I need to install or configure to get this debug functionality in STM32CubeIDE? This worked well within Atollic TrueSTUDIO.
I understand that this is not the main focus of the STM32CubeIDE, but it is nevertheless a valuable addition.
Thanks for any help you can give me.
Dale Wheat
2020-02-23 05:18 AM
You can follow this tutorial in order to install gdb and add it to your local variables.