STM32CubeIDE doesn't connect to debugger. How can I fix this? I am using the STM32H747-Disco board.
This is what my console says when I try to debug:
Info : default port : 7184
Info : Remote address: 127.0.0.1
Info : stlinkserver already running, exit
STMicroelectronics ST-LINK GDB server. Version 5.7.0
Copyright (c) 2020, STMicroelectronics. All rights reserved.
Starting server with the following options:
Persistent Mode : Disabled
Logging Level : 1
Listen Port Number : 61234
Status Refresh Delay : 15s
Verbose Mode : Disabled
SWD Debug : Enabled
InitWhile : Enabled
Waiting for debugger connection...
Debugger connected
Debugger connection lost.
Shutting down...
