How come I am not able to debug OpenERP in Eclipse (I have Psyco installed)

Created by Olivier Dony (Odoo)
Keywords:
psyco debug eclipse

As reported in bug 541985, debugging OpenERP within Eclipse and with Psyco installed does not always work.
The reason for this is a limitation of Psyco, not a bug of OpenERP.

Pyco breaks Python's inspect module, because of the way it emulates frame objects.
This is mentioned in the Psyco known bugs, and is likely to break various features of Eclipse's debugger and OpenERP itself.

- http://psyco.sourceforge.net/psycoguide/bugs.html
- http://code.activestate.com/lists/python-list/399157

Workaround: uninstall or disable Psyco