I'm on the really hard mission to enable debugging for OpenERP7 on Windows. My wish is to be able to set breakpoints in modules within my Windows Eclipse IDE and browse across python objects.
I googled some tutorials to enable it and found one, but it is not very clear: This is a link -> debug-openerp-python-code-in-eclipse.blogspot.in
According to the tutorial I opened the Run Configurations and entered my current Module Project which is located in C:\Tools\OpenERP7\Server . This is no problem.
Afterwards, it says to choose the main module file openerp-server within OpenERP7\Server\server -- BUT -- there is no openerp-server file! Eclipse says, it must be a python file containing a __main__ method. Do I have to install the sources version of openerp or why is there no openerp-server file located in my \server directory?
Guys! I DID IT! To make debugging possible for eclipse on windows, you can follow the tutorial I mentioned before -> -> debug-openerp-python-code-in-eclipse.blogspot.in
But following additional information is necessary to make it possible: 1. You have to use the source version. Only there, you find the file openerp-server which you can rename to openerp-server.py if you want. 2. Then, you can enter for the main module the diret path to the openerp-server file. You may have to type in the path directly.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 3/12/14, 12:11 PM|
|Seen: 1593 times|
|Last updated: 3/16/15, 8:10 AM|