Question
stm32cubeide error: debuger connection lost, how to solve it?
Excuse me!
When I used STM32CUBEIDE to run the code, when I add the code in the red box as shown in picture, there existed a problem: debugger connection lost, when I wanna debug, the program runs into the " Hard fault interrupt"function. If I delete the code, the programmer runs successful, how to solve it ?

