Debugging stops midway (operation becomes impossible) when using STM32CubeIDE and STM32L452RE
Debugging stops midway and the only options are to stop debugging or start over.
Indicates what is currently known about this condition
・Pressing "Step Over" repeatedly or "Resume" to stop debugging. There are certain points where debugging stops.
・Place a breakpoint just before the point where debugging stops, turn on "instruction step mode" there, and repeat "Step Over" to avoid debugging stops.
・However, even if "instruction step mode" is continued after that, debugging still stops if "step-in" is not pressed at the "bl" part of the instruction in "reverse assembly".
It is difficult to debug a long program in �?instruction step mode", i.e., manually, to the end, so I do not know if it is possible to debug to the end.I would prefer to debug semi-automatically instead of using this technique.
Also, when debugging stops, the console displays the following
NVIC_DFSR_REG = 0x00000001
GDB session, device event: 3
GDB session, device event: 3
GDB session, device event: 1
GDB session, device event: 1
ST-LINK device status: RESET_MODE
ST-LINK device status: RUN_MODEIf anyone knows of this situation, I would appreciate an answer.
I am using machine translation for this text. I am also new to STM32. Thank you in advance for your help.
