Debugging in OpenERP 7.0

后端 未结 8 1010
小鲜肉
小鲜肉 2021-01-18 06:05

How to do debug in OpenERP v7?

In previous versions of OpenERP, it was easy to debug. But in the latest version it\'s tough to debug.

8条回答
  •  北恋
    北恋 (楼主)
    2021-01-18 06:41

    To debug openERP 7 from eclipse just Stop openERP server and rename the main file named openerp-server.py.From "Run/Debug Configurations" make a new configuration selecting Project and main module such as ${workspace_loc:openerp7/src/openerp-server.py} then press Apply.After that /openerp7/src/openerp-server.py 'Debug As --> Python Run' using new configuration.Server is running where pydev debugger is also started.Now run 'gtk' or 'web-client'.Then select the python file of that module where want to debug and give breakpoints.That's all.

提交回复
热议问题