Transferred from: http://www.cnblogs.com/hbccdf/p/use_vs_and_visualgdb_develope_linux_app.html
Read Catalogue
- Configuring virtual Machines
- Create Demo
- Editing and debugging
- Resources
Linux program development is becoming more and more, more and more programs, products need cross-platform, and even some open source projects only support the Linux platform, so mastering the development of Linux is becoming more and more important.
But for the habit of development under Windows, using the VS this universe first IDE, feel Linux under the pure command-line development debugging, or some not accustomed to, the efficiency is somewhat low (except the great God). Then can you use VS to develop debugging Linux programs, after a variety of search, found visualgdb this magical plug-in, through the VS+VISUALGDB can compile and debug Linux programs.
Let's take a look at the process of creating a demo.
Back to top Configure virtual machine
VISUALGDB support for Linux is the principle of SSH to the Linux system via SSH to the Linux command, the specific principle is not much to say, crossing network.
Now that you need a Linux system and VS is a Windows system, you need a virtual machine.
You can use either VMware or Visual box.
First configure the network, the host and the virtual machine can ping each other.
Then clear the firewall to
Collapse
Iptables-f
Back to top Create demo
Once you've configured your environment, you're ready to start creating a demo.
Back to top Edit and debug
Back to top references
Using Visual Studio to develop Linux apps
If you read this blog, feel that you have something to gain, please click on the bottom right corner of the [recommended]
If you want to reprint this blog, Please specify the source
If you have comments or suggestions for this article, please leave a message
Thank you for reading, please follow me on the following blog
debugging Linux programs with VS+VISUALGDB compilation