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
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
pydev-code mailing list
pydev-code@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-code

Reply via email to