[Pydev-code] problem with debugging program having eventlet.monkey_patch() code
Brought to you by:
fabioz
From: gong ys <gon...@ya...> - 2012-02-16 23:58:56
|
Hi, When I tried to debug the program below, the debug features such as "step over" did not not work. There was an exception popped: import eventlet eventlet.monkey_patch() print "x" print "y" The console output: pydev debugger: starting x Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/eventlet/hubs/hub.py", line 336, in fire_timers timer() File "/usr/lib/python2.6/site-packages/eventlet/hubs/timer.py", line 56, in __call__ cb(*args, **kw) File "/usr/lib/python2.6/site-packages/eventlet/semaphore.py", line 95, in _do_acquire waiter.switch() error: cannot switch to a different thread y |