I am encountering two issues when debugging my STM32F7 nucleo board with STLink v2 using the Mbed OS framework.
The first issue is that whenever I try to continue the execution flow of a breakpoint, I get stuck on the same code line. I have to disable the breakpoint to continue the execution.
The second issue is that when I use the step over function, I continuously get redirected by an interrupt IRQHandler in the Mbed framework. I have already tried setting “skip -file or skip -gfi” command in platformio debug_load_cmds, but it did not solve the problem.
Has anyone else encountered similar problems while debugging a platformio and stm32? Is there a way to ignore the GDB path from stopping execution?
When you start debugging again, does OpenOCD recognize the different RTX5 threads? They should be visible when the target is halted as different collapsable threads in the call stack view.