pydevd-odoo
pydevd-odoo copied to clipboard
can't excute python sentence in console
Hi @ohplz
I'm not sure what the problem is here. Can you provide more information?
sure, sry not to offer more info earlier~
I'm using pycharm as IDE, and running Odoo in debug mode, here is my configuration.
when my program run into a breakpoint like this, I thought I can directly input python sentence in console, and it will excute it . Just like debug JS in browser's DevTools's console.
but this error raised, and it seems to from pydev-odoo module.
plz help me out, thanks!
-
pydevd-odoo
is an extension ofpydevd
(https://github.com/fabioz/PyDev.Debugger) so any error can come frompydevd
itself. - What is
data
in your context? Does the error also occur with other variables ?
data is just a dict, but indeed, all the variables will triger up this error.
What version of PyCharm are you using? I just tested on my machine (Odoo 14, PyCharm Pro 2022.2 with/without pydevd-odoo) and got no errors at all.

I'm using PyCharm 2022.3 EAP (Professional Edition) and also Odoo 14.
I'm still trying to resolve this problem, since your env hasn't this error, guess I have to solve it myself.
Thanks for your help!
If I got sth, I'll get back to you!