How to write and debug Linux programs when Windows Programmer/C + + turns to Linux programmers

Source: Internet
Author: User

Windows programmers use VS or WinDbg to debug quite familiar, go to Linux under, to do program writing, debugging, often very painful (or not used to it). Now can find a variety of IDE or editing software quite a lot, I tried to have eclipse+cdt+gdb,codeblock+gdb,vi+cgdb, are not ideal, from time to time to rely on VS, has always been the complex of vs.

One day, looking for gdb how to display the current process loaded dynamic library, found in visualgdb about the GDB tutorial, at this time suddenly think of visualgdb this tool (originally in use VISUALDDK saw), carefully review the tutorial, a surprise, Finally can be written under the Windows vs under the Linux program debugging, it is hard to say the happy, close-up this blog memorial.

Of course, with visualgdb not to be concerned about the use of GDB, GDB is still fundamental, usage or to master, otherwise in some extreme cases or to GDB command line upstream, such as debugging the fork process. Learn with the back side. Write to this, I hope all windows C + + programmers can use this tool to develop Linux programs, ease of writing and debugging the various unpleasant, love Linux. She is really good, very strong.

How to write and debug Linux programs when Windows Programmer/C + + turns to Linux programmers

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.