Skip to content
Advertisement

MSVS2015 Linux Debug starting gdbserver failed

I’m trying to debug a linux c++ application on a remote offsite server and I got this message:

gdbserver error

Any ideas? I’ve tried debugging it on an onsite linux machine (through MSVS2015 on windows) and it works fine.

Advertisement

Answer

I had a snapshot of the server prior to installing gdbserver. It worked after I installed all the components again by doing this:

  1. sudo apt-get install openssh-server g++ gdb gdbserver

Don’t know what fixed it but this worked…

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement