0

I have tried with no success for a good 4 hours to debug a program using Visual studio remote debugger and I keep getting the same error message:

could not launch gdbserver. gdbserver could either be missing on your system and need to be installed, or it failed to start the program.

-My attempted solutions so far:

  1. I logged into the Linux (fedora)remote system and installed gdb, and all the required depencises. However I get another message saying:

no package gdbserver available.

  1. Is there a difference between gdb and gdbserver?
  2. Realizing that I was not succeeding with the Fedora I decided to try and install gdb/dependencies on a Centos7 system. Going to Visual studio and launching the remote debugger. I still get the same error message.

Your expertise will be very appreciated

2
  • Is it the same problem as here: stackoverflow.com/questions/45237924/… Commented Jul 24, 2017 at 10:36
  • Or it might be a firewall problem : lookup "gdbserver port" Commented Jul 24, 2017 at 10:39

1 Answer 1

3

i installed the gdbserver this works for me on the raspberry pi

sudo apt-get install gdbserver

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.