cancel
Showing results for 
Search instead for 
Did you mean: 

Showing code base when debugging external .elf

gf1
Associate II

Hello everyone,

I came across this interesting post:How to debug an external .elf file in STM32CubeIDE - STMicroelectronics Community by @B.Montanari. However, I noticed that the full code stack doesn’t show during debugging. When I start a session, execution halts at main.c, and I can’t set breakpoints in other files (like file2.c at line 100) beforehand - I have to step through first.

Is there any way to enable breakpoints in other source files before running?

Since STM32CubeIDE doesn’t (yet) support the ARM Toolchain for Embedded or custom Makefile/CMake setups, I’m building the project elsewhere and only using STM32CubeIDE for debugging.

0 REPLIES 0