2021-09-08 01:02 AM
Hello,
I would like to provide some more information about the issue that i signalled during yesterdays workshop. Hopefully these will help to get a solution.
When trying to debug an example projet in the CubeIDE I get the following error:
However, when I open a new Command Shell Console in the IDE and type the command "arm-none-eab-gdb --version" i get the following answer:
Other helpfull information:
Is there maybe another method to solve my issue?
Best regards,
Marcin
2021-09-09 09:59 AM
Hello Marcin,
first I have added the STM32CubeIDE topic to make your post visible in to the right people.
On my side, I tried to reproduce what you have shared.
I launched a command shell console (I didn't even know it existed before :grinning_face: ) using the Command Shell Console in the console window:
But it does not allow me to launch this gdb command. The path is not set.
But I may be launching this in the wrong way.
I also tried to launch directly the gdb command from where it is in the installation directory:
And here is what I get:
icrosoft Windows [Version 10.0.19042.1110]
(c) Microsoft Corporation. All rights reserved.
c:\STM32\Tools\STM32CubeIDE\V1.7.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.win32_2.0.0.202105311346\tools\bin>arm-none-eabi-gdb.exe --version
GNU gdb (GNU Tools for STM32 9-2020-q2-update.20201001-1621) 8.3.1.20191211-git
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
So, it does not seem to point to the same version.
I guess some path setup in your system take precedence to the one used by STM32CubeIDE.
Maybe you could check your PATH variable.
When I open a simple command shell, arm-none-eabi-gdb.exe is not found.
Best regards
Jocelyn