Debug stays at Reset_Handler, step into/over buttons are disabled
Hi diabolo38, thanks for your comments.
It looks like the default optimization level is optimize for size (-Os). I have change this to optimize for Debug (-Og).
I haven't enabled rtos awareness. However, the debugger appears to behaving nicely now, so enabling rtos awareness is something i'm interested in. I have read where it is mentioned in the openocd documentation, however it isn't entirely clear how i should be updating my configuration file to best best debug FreeRTOS. Do you know where i can find examples of how best to do this?
I'm not entirely sure what I have done to fix my debugging issue. What I could see is that the board was resetting (PIN reset), but i'm not sure if it was the ST-Link doing it, or the LSE Startup timeout. Changes I made were; grounding the BOOT0 pin (it was floating), and changing the reset_config by removing "srst_only".
When debugging, my application automatically stops on main(), so I'm now happy 😀