Changes between Version 4 and Version 5 of DeveloperGuidelines/Eclipse
- Timestamp:
- 07/05/10 20:00:48 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Eclipse
v4 v5 2 2 Eclipse is a full IDE supporting Debugging & Code Completion. 3 3 4 PyDev is an Eclipse module which supports Python.4 !PyDev is an Eclipse module which supports Python. 5 5 6 It takes a little configuration to get it going with Web2Py: 6 == Installation == 7 1. Instal Eclipse 3.6: http://www.eclipse.org/downloads/packages/eclipse-classic-360/heliosr 8 2. Instal !PyDev through Eclipse: 9 i. Eclipse > Help > Install New Software 10 i. Work with: http://pydev.org/updates 11 i. Follow through the steps (exclude !PyDev Mylyn Integration (optional) if it gives you errors 12 3. Set up the Python Interpreter: Window > Preferences > !PyDev > Interpreter - Python 13 4. Add a new !PyDev Project: File > New > Project > !PyDev Project. Choose the web2py directory. 14 5. Debug Configuration: Run > Debug Configuration 15 i. Set Project 16 i. Main Module: Select web2py.py 17 i. Arguements: Program Arguements: -a 1234 18 19 Additional Information: 20 (Which is probably not required) 7 21 * http://kollerie.wordpress.com/2009/04/07/setting-up-your-ide-for-web2py-development/ 8 22 * (Simplier Instructions) http://allisterx.blogspot.com/2009/06/using-web2py-framework-on-eclipse.html 9 10 == Detailed Installation steps ==11 http://www.eclipse.org/downloads/packages/eclipse-classic-360/heliosr12 13 Help > Install New Software14 15 http://pydev.org/updates16 17 http://sourceforge.net/projects/pydev/files/18 19 20 23 21 24 Bzr integration (optional): 22 25 * http://wiki.bazaar.canonical.com/BzrEclipse 23 26 24 Related Links: 27 == Debugging with Eclipse == 28 * Set and remove breakpoints by double clicking in the margin of the code file. 29 * F5 Step into functions 30 * F6 Step over lines 31 * F7 Step out of functions 32 * Use expressions (drag and drop from code) or right-click > watch 33 34 == Related Links == 25 35 * [wiki:DeveloperGuidelinesTips#Pythondebugging Debugging Web2Py] 26 36