debugging Linux programs with VS+VISUALGDB compilation

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.