question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem with GDB Server on the console

See original GitHub issue

I get this error Waiting for gdb server to start... on the console when I use stm32-for-vscode extension. Everything works fine (compile, program, etc.), aside that Cortex-Debug always is waiting for some unknown to me GDB server to start!

I’ve created an issue in stm32-for-vscode but it seems that the problem is with Cortex-Debug. Please refer to this issue there which has the full problem definition as well as the possible solution suggested by @jortbmd.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:16

github_iconTop GitHub Comments

1reaction
haneefdmcommented, Sep 29, 2021

JLinkGDBServer should be JLinkGDBServerCL. That is the command-line (CL) version

0reactions
haneefdmcommented, Oct 2, 2021

No worries, if it happens again, report back.

Read more comments on GitHub >

github_iconTop Results From Across the Web

onBackendConnect: gdb-server program client error Error ...
Hi! I'm developing a project on visual studio with ncs sdk V1.8.0. For a while, I was able to debug my project with...
Read more >
GDB Server fails to start - ST Community
Hello, I have a problem running any project in STM32CubeIDE v1.7.0. When I press 'Run' I usually get "Launching: Performing pre-launch check.
Read more >
Troubleshooting Tips: Failed Debugging with GDB
One common problem is that cygwin or other tool chains are installed and have changed the global system path, and the wrong toolchain...
Read more >
Error in final launch sequence: GDB server failed to start ...
Hello,. I can't debug anymore with e2Studio and E1 debugger. The following error is shown: 'Launching xxxxxx' has encountered a problem.
Read more >
onBackendConnect: gdb-server program client error Error ...
GDBServerConsole : onBackendConnect: gdb-server program client error Error: read ECONNRESET · Installed MSys2 · Set up MSys2 and its packages like ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found