Friday, 20 July 2012

Debugging your OpenERP module

                                                                                                                            Pinakin Nayi
                                                                                                                            OpenERP, Gandhinagar.

Debugging your OpenERP modules is quite straightforward, as long as you know basic Python programming. Just insert the following line in your
import pdb;pdb.set_trace()
Then restart your openerp-server with the –debugoption
# openerp-server –debug
Then monitor your server console. You will see your server stop and show you a command line prompt where you will be able to debug your program.
You will find further information in the Python documentation website.


No comments:

Post a Comment