2023-04-21 08:28 PM
Out of no where, seemingly from one build to the next, CubeIDE is not able to launch GDB. I've tried a different project, a different version of the IDE, restarting my PC and no luck.
How do I debug what is going on?
STMicroelectronics ST-LINK GDB server. Version 6.1.0
Copyright (c) 2022, 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
Failed to bind to port 61235, error code -1: No error
Failure starting SWV server on TCP port: 61235
Failed to bind to port 61234, error code -1: No error
Failure starting GDB server: TCP port 61234 not available.
Shutting down...
Exit.
Solved! Go to Solution.
2023-04-26 09:20 AM
I had tried to change the port but that resulted in an error as well. It ended up working after fully shutting down my PC. Restarts were not enough. Thanks!
2023-04-24 03:27 AM
Hello @Konami
TCP port 61234 not available:
That error appears when the TCP port by default which is 61234 is not available on debug configuration
So in this case, try to change the TCP port to 61238 for example and give me your feedback
Thanks,
Wijeden,
2023-04-26 02:45 AM
Hi @DB.7ujak
Any updates?
2023-04-26 09:20 AM
I had tried to change the port but that resulted in an error as well. It ended up working after fully shutting down my PC. Restarts were not enough. Thanks!
2023-04-26 09:25 AM
2023-05-03 12:06 PM
This happened again. Changing the port changed nothing, and the Windows computer required a full shutdown