简体   繁体   中英

How to remotely compile and debug in Linux from within Visual Studio 2010

The source (ideally project) is to be compiled by gcc/g++ under Linux (Ubuntu). The source/project is to be opened/edited in Visual Studio environment. The output binary is to be debugged so that traces to viewed in Visual Studio 2010 and be ran in Linux step by step. What is required to achieve this goal?

I don't know if this will work in VS 2010 but to debug something on Linux you should use GDB in remote mode. There is plugin fo GDB to VS but I'm not sure if it supports remote debuggin.

Here are some links that could be useful

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM