I'm working on a device that has an unstable wireless connection and therefore requires a serial cable to debug programs that run on it while the Firmware team works on fixing the wireless connections. This happens often as new devices tend to be unstable at first. The problem is I can't seem to find out how to remote debug in Eclipse CDT when using a serial port. I've been doing some searching online and have found lots of info about remote debugging via SSH, FTP and Telnet. Although, I can't find anything about debugging through the serial port. I was able to find info on and use a serial terminal in Eclipse but as far as I can tell this doesn't help me debug a program remotely with the serial connection. I also know that it's possible due to this Eclipse bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=257171
Unfortunately that doesn't tell me how to use this new support :(
I also know GDB allows debugging via serial cab开发者_高级运维le, so surely there is a way to do it with the Eclipse debugger. I was also wondering if there is a way to get the "Remote System Explorer", an Eclipse plugin, to use a serial port as well? As far as I can tell it doesn't seem to support serial connections. Is there another plugin like it that does support serial connections? Any and all help is greatly appreciated.From the comments by the patch it looks like official support is in Eclipse 3.6 (Helios) M7
The supported CDT approach seems to be to use the GDB serial protocol.
http://www.embecosm.com/appnotes/ean4/embecosm-howto-rsp-server-ean4-issue-2.html
精彩评论