Version 9 (modified by Fran Boon, 14 years ago) ( diff )



Eclipse is a full IDE supporting Debugging & Code Completion.

PyDev is an Eclipse module which supports Python.


  1. Install Eclipse 3.6:
  2. Install PyDev through Eclipse:
    1. Eclipse > Help > Install New Software
    2. Work with:
    3. Add, OK
    4. tick PyDev (can exclude the optional PyDev Mylyn Integration), Next, Next, Accept, Finish
    5. tick to trust certificate, Restart now
  3. Set up the Python Interpreter:
    1. Window > Preferences > PyDev > Interpreter - Python
    2. New, Browse to python26/python.exe, OK, OK
  4. Add a new PyDev Project:
    1. File > New > Project > PyDev Project > Next
    2. untick Use Default
    3. Browse to the web2py directory
    4. Give the project a name: eden, Next
  5. Debug Configuration: Run > Debug Configurations > Python Run
    1. Name: Sahana Eden
    2. Project: Browse to eden
    3. Main Module: Browse to
    4. Arguments tab: Program Arguments: -a password
    5. Apply, Close

Other Installation Guides (should not be required):

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


Note: See TracWiki for help on using the wiki.