Download presentation
Presentation is loading. Please wait.
Published byMelvin Price Modified over 9 years ago
1
Eclipse for remote development Presented by Taye Su
2
Agenda Theory of Operation Workflows Install & Configure New Project Build Edit SCM Debug Q&A 2
3
overview Global development (US, India, Singapore, China) Large C++ codebase Linux OS specific 3
4
Theory of operation Classical Development 4
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 5
6
Solutions for remote development 6
7
Introduction PC, Linux and Macintosh versions Eclipse enhanced for PayPal developers Ability to edit/build remotely Ability to debug remotely 7
8
Theory of operation Rsync Project 8
9
Theory of operation Rsync Variants for local editing & indexing Basic Rsync Manual Rsync Offline Rsync 9
10
Benefits Inherited all Eclipse plugin features. Graphical remote debugging Speediness / responsiveness for remote users Consistent development environment 10
11
Workflows 11 Installation Project creation EditBuildDeployDebug
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 12
13
Standalone Application Debugging 13 executable IDEgdb launches devstaging
14
WEB Application 14 apache IDE debug.cdb places devstaging
15
WEB Application 15 apache IDE debug.cdb http request webapp launches gdbserver launches devstaging
16
WEB Application 16 apache webapp gdbserver IDE attaches devstaging
17
WEB Application 17 apache webapp gdbserver gdbIDE launches connects controls devstaging
18
Service/Daemon Debugging 18 asfhelloserv gdbIDE launches attaches devstaging
19
Service/Daemon Debugging 19 asfhelloclient asfhelloserv gdbcorona controls messages devstaging
20
Future works Open Source RSYNC project creation Remote debugging Import project base on makefile (hello.exe_def) Deploy app
22
Evaluate This Session Sign-in: www.eclipsecon.orgwww.eclipsecon.org Select session from schedule Evaluate: 1 2 3
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.