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