cancel
Showing results for 
Search instead for 
Did you mean: 

CubeIDE 1.8.0 - debug stepping doesn´t work

palsson.gp
Associate II

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?

2 REPLIES 2
KnarfB
Principal III

Works for me in my use cases. A little more context (MCU, maybe a stripped down main.c) might be helpful here.

hth

KnarfB

Pavel A.
Evangelist III

Make sure you build debug configuration, with optimization -Og or -O0