Application of Vs2013 in Linux development (18): Application Debugging Scenarios

Source: Internet
Author: User

Happy Shrimp

http://blog.csdn.net/lights_joy/

Welcome reprint, but please keep the author information



in front of us VS the Debug interface has done basic functional verification, the following begins the formulation of the scheme:


as shown, we need to WINDOWS The end runs two auxiliary programs, one is Remoteconsole , the main function of this program is to display the output of the remote program and transmit the user input to the remote. The other is the python interpreter, which is used to complete the ssh/telnet/com Connection and is responsible for invoking the remote Linux on the gdb .


When you start the project debugging,VCThe debug engine will load ourRemoteconsole, since this is aWINDOWSthe local program, soVScan load normally. WhenVCwhen the engine starts, our extension will receive this event and call our own debug engine, which in this debug engine will connect over the networkRemoteconsole, to controlGDBto run and receivegdbevents, which are reflected in theIDEthe.


According to this design, it's easy to see Remoteconsole the appearance of:


all you need to do is put gdb the information and VS Debug Engine, yeah~~~~







Application of Vs2013 in Linux development (18): Application Debugging Scenarios

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.