Pycharm Community Edition: “Unable to display fram

2019-02-12 15:48发布

问题:

I get this error in the debug pane (replacing the variables) whenever Pycharm is stopped at a breakpoint on one project, which uses Flask. I created a new project to test this. The variables displayed in a breakpoint in this project; however they were not displayed on the exception breakpoint that resulted from having a nonexistent file in the run configuration.

Anyone have any ideas of what's going on?

回答1:

I found the answer for my problem here https://youtrack.jetbrains.com/issue/PY-20198

Basically, you just need to update your pydev using the one that attached in the link above.



回答2:

I had this problem using the remote debugger. I solved it by reinstalling the pydev-debug.egg distributed along with PyCharm. (This was another advice in the link from @ismailsunni's answer.)

(In my case, on OS X, here's the shell command I used after activating my virtualenv:

$ easy_install /Applications/PyCharm.app/Contents/debug-eggs/pycharm-debug.egg

The location on Windows or Linux will be different, obviously.)



回答3:

I just updated to v2016.2 and get the same, BUT ONLY for the remote debugger. The local debugger works just fine. The remote debugger shows "Unable to display frame variables".



标签: pycharm