1. 程式人生 > >visual GDB配合 visual studio 2013開發 linux程式

visual GDB配合 visual studio 2013開發 linux程式

visualGDB官網:

https://visualgdb.com

參考網址:

http://www.cnblogs.com/robinex/p/7875934.html
VS外掛VisualGDB破解版下載、安裝和使用說明
https://blog.csdn.net/sunxiaopengsun/article/details/79309711

使用VS+VisualGDB編譯除錯Linux程式
https://www.cnblogs.com/hbccdf/p/use_vs_and_visualgdb_develope_linux_app.html

ubuntu 16.04 上面需要安裝的工具

sudo apt-get install gcc
sudo apt-get insatll make
sudo apt-get install g++
sudo apt-get install gdb
sudo apt-get install gdbserver

sudo apt-get install openssh-server
安裝ssh-server
sudo apt-get install openssh-server
安裝ssh-client
sudo apt-get install openssh-client

2.確認sshserver是否安裝好
ps -e | grep sshd
450 ? 00:00:00 sshd

工程設定:

在這裡插入圖片描述

news

如題,vs2017能夠支援除錯linux程式碼了,感覺非常方便,比直接在linux系統上操作要方便很多。不過目前還沒有研究出來怎麼直接通過vs debug啟動linux上的執行程式。希望有知道的大佬分享一下方法。

https://visualgdb.com/download/
nstallation Instructions
If you are updating from an older version of VisualGDB, simply run the new MSI file. It will perform the update automatically and will use your old license key.
Install Visual Studio 2008 - 2017. Express Editions are not supported. Use the free VS Community Edition instead.
Download the MSI file using the link above.
Run the installer.
Follow the instructions of the Installation Wizard:

使用的 visual GDB 版本

VisualGDB-5.3r3

1、安裝完成後,將PatchVisualGDB.exe拷貝到安裝好的visualgdb.exe檔案所在目錄,我的在:C:\Program Files (x86)\Sysprogs\VisualGDB
2、雙擊執行PatchVisualGDB.exe,會彈出對話方塊,表示破解成功
3、此時啟動vs2013,我的會報破解未成功
4、退出vs2013,再進行C:\Program Files (x86)\Sysprogs\VisualGDB,執行PatchVisualGDB.exe
5、再次啟動vs2013,OK了