Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have a sample c++ application which builds and runs fine in a Red Hat installation.

I wanted to have the source code of this application in my windows machine so I can create a Visual Studio project and use Visual Studio 2017's new features which makes it possible to build and debug programs on a Linux server.

I successfully managed the following

  • Create a 'make file' project using Visual Studio CE 2017
  • Connect to the remote server and build by invoking make command at the server

My remote debugger settings are as follows enter image description here

Remote Build Settings are as follows enter image description here

General Settings are as follows enter image description here

However, when I try to debug the program via Visual Studio (using gdb in the server) following error occurs

enter image description here

Since this doesn't reveal much, I enabled verbose mode (in GDB) and following is the verbose output. Apparently, GDB crashes after loading symbols for one of the source files.

enter image description here

Furthermore, I can manually GDB the binary in the Linux Server without any problems

enter image description here

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
193 views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...