Version 9 (modified by 15 years ago) ( diff ) | ,
---|
Eclipse
Eclipse is a full IDE supporting Debugging & Code Completion.
PyDev is an Eclipse module which supports Python.
Installation
- Install Eclipse 3.6: http://www.eclipse.org/downloads/packages/eclipse-classic-360/heliosr
- Install PyDev through Eclipse:
- Eclipse > Help > Install New Software
- Work with: http://pydev.org/updates
- Add, OK
- tick PyDev (can exclude the optional PyDev Mylyn Integration), Next, Next, Accept, Finish
- tick to trust certificate, Restart now
- Set up the Python Interpreter:
- Window > Preferences > PyDev > Interpreter - Python
- New, Browse to python26/python.exe, OK, OK
- Add a new PyDev Project:
- File > New > Project > PyDev Project > Next
- untick Use Default
- Browse to the web2py directory
- Give the project a name: eden, Next
- Debug Configuration: Run > Debug Configurations > Python Run
- Name: Sahana Eden
- Project: Browse to eden
- Main Module: Browse to web2py.py
- Arguments tab: Program Arguments: -a password
- Apply, Close
Other Installation Guides (should not be required):
- http://kollerie.wordpress.com/2009/04/07/setting-up-your-ide-for-web2py-development/
- (Simplier Instructions) http://allisterx.blogspot.com/2009/06/using-web2py-framework-on-eclipse.html
Bzr integration (optional):
Debugging with Eclipse
- Set and remove breakpoints by double clicking in the margin of the code file.
- F5 Step into functions
- F6 Step over lines
- F7 Step out of functions
- Use expressions (drag and drop from code) or right-click > watch
Related Links
Note:
See TracWiki
for help on using the wiki.