1 / 22

Eclipse for remote development Presented by Taye Su

Eclipse for remote development Presented by Taye Su. Agenda. Theory of Operation Workflows Install & Configure New Project Build Edit SCM Debug Q&A. overview. Global development (US, India, Singapore, China) Large C++ codebase Linux OS specific. Theory of operation.

hedwig
Download Presentation

Eclipse for remote development Presented by Taye Su

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Eclipse for remote developmentPresented byTaye Su

  2. Agenda • Theory of Operation • Workflows • Install & Configure • New Project • Build • Edit • SCM • Debug • Q&A

  3. overview • Global development (US, India, Singapore, China) • Large C++ codebase • Linux OS specific

  4. Theory of operation • Classical Development

  5. Pain points • Inconsistence dev environment • SlickEdit Dev has own hooks and hard to share • X-Client doesn’t work well for remote users • Error prone - typing errors to code • Difficult to trace compiling error • Manual debugging • difficult to setup • difficult to step through code with gdb commands • gdb is too expensive to run on staging machine

  6. Solutions for remote development

  7. Introduction • PC, Linux and Macintosh versions • Eclipse enhanced for PayPal developers • Ability to edit/build remotely • Ability to debug remotely

  8. Theory of operation • Rsync Project

  9. Theory of operation • Rsync Variants for local editing & indexing • Basic Rsync • Manual Rsync • Offline Rsync

  10. Benefits • Inherited all Eclipse plugin features. • Graphical remote debugging • Speediness / responsiveness for remote users • Consistent development environment

  11. Workflows

  12. Workflows – Remote Debugging • Remote Debug Wizard makes debugging easy • Debug Steps: • Build Application With Symbols • Deploy to playground or stage • Set Breakpoints • Run the Debug Wizard • Types of Applications • Standalone – launched by gdb • WAC App – launched by Apache, connects via gdbserver • Service – attach to running process

  13. Standalone Application Debugging dev staging launches IDE gdb launches executable

  14. WEB Application dev staging places debug.cdb IDE apache

  15. WEB Application dev staging gdbserver launches IDE debug.cdb webapp httprequest launches apache

  16. WEB Application dev staging gdbserver attaches webapp IDE apache

  17. WEB Application dev staging gdbserver connects controls launches webapp IDE gdb apache

  18. Service/Daemon Debugging dev staging asfhelloserv attaches launches IDE gdb

  19. Service/Daemon Debugging dev staging asfhelloclient messages asfhelloserv controls controls corona gdb

  20. Future works • Open Source • RSYNC project creation • Remote debugging • Import project base on makefile (hello.exe_def) • Deploy app

  21. Q&A

  22. Evaluate This Session 1 Sign-in: www.eclipsecon.org 2 Select session from schedule 3 Evaluate:

More Related