Debugger "Unable to display frame variables"
When I try to run any unit test in the Openstack nova project[1] and reach a breakpoint, the debugger says "Unable to display frame variables", and I am unable to inspect any variables. I picked Nosetests as the runner since none of the others seem to work at all.
[1] https://github.com/openstack/nova
[1] https://github.com/openstack/nova
Please sign in to leave a comment.
As I see from requirements.txt this project is using Eventlet.
Please try to enable Gevent support: http://blog.jetbrains.com/pycharm/2012/08/gevent-debug-support/.
Please try to run tests not using eventlet.monkey_patch().
Does it work for you?
I have started debug server, then I put in one of my unittest:
import pydevd
pydevd.settrace('172.18.36.179', port=1234,stdoutToServer=True, stderrToServer=True, suspend=False)
After that i put breakpoint in same test. And runned tests:
testr run
Breakpoint has been reached. I can select Frame in Debugger, but I have same problem as Henry had: "Unable to display frame variables"
I'm using PyCharm 4.0
Thanks for any help!
+1 For basic code like so, these errors: