2021-12-04 04:49 AM
Hi there, I´m using CubeIDE 1.8.0 - I recently updated to the newest release and noticed that debug stepping isn´t working as expected, anymore.
Scenario; I can download my image and it allows me to do a few steps to begin with (from main entry point), then doesn´t return after a step but continues though running the application. I can put in a breakpoint somewhere and it would break, but I can´t do "step into" or "step over" from there.
I haven´t experienced this before, had been using the system workbench - sw4stm32 - with great success, but also recently decided to advance to CubeIDE.
The debugger is ST-Link/V2.
Anyone experienced something similar?
2021-12-04 10:00 AM
Works for me in my use cases. A little more context (MCU, maybe a stripped down main.c) might be helpful here.
hth
KnarfB
2021-12-04 02:13 PM
Make sure you build debug configuration, with optimization -Og or -O0