Why am I getting a hard fault when adding a breakpoint in the IDE while the device is in stop mode
Scenario is that I am debugging my application using ST-Link V2.
The device enters stop mode (with debugging still enabled). If I then add a breakpoint while the device is in stop mode, I immediately trigger a hard fault ISR.
This is new behaviour that seems to have only began happening recently with this project.
I therefore suspect it is either from some change in my app or from some change in Cube HAL drivers or IDE's debug layer after updating to STM32CubeIDE_v1.11.0
Below is a screenshot showing the recovered stack frame, and the assembly code and debug console output when the hard fault happens.
I am using STM32G030F6
