Search code examples
pythonpython-3.xpycharmodooodoo-12

Why can not I debug but execute the code odoo in pycharm?


I'm trying to debug the Odoo source code.

Execution works normally, but when trying to debug the following message appears:

Connected to pydev debugger (build 181.5540.34)

Process finished with exit code -1073740940 (0xC0000374)

I'm using Odoo 12, PyCharm 2019.1.3 (Professional Edition) and Python 3.6 on Windows 10.

This is the first time I try to debug this Code.


Solution

  • I saw some instance in the Chinese community. It's an issue that some lib in python conflict with Win10. Usually, it's a lib named locale conflict with the setting in your system.

    Control Panel>Region>Adminstrative>Change system locale>Enable: Beta Use UTF-8

    As the pic down below.
    pic