[Stackless] Stackless and Wing IDE

Simon Pickles sipickles at hotmail.com
Sat Apr 12 22:06:24 CEST 2008


Hi,

Can anyone help explain why wing IDE does not work with Stackless?

Eg:

#START------------------------------------------------------------------------------------------ 

import stackless
from time import sleep


def foo():
   x = 0
   while 1:
       sleep(1)
       print x
       x += 1
       stackless.schedule()
     
def bar():
   x = 65
   while 1:
       sleep(1)
       print chr(x)
       x += 1
       stackless.schedule()

stackless.tasklet(foo)()
stackless.tasklet(bar)()
stackless.run()

#END------------------------------------------------------------------------------------------ 


A breakpoint will not trigger in either function. :(

Thanks

Simon

-- 
Linux user #458601 - http://counter.li.org.







More information about the Stackless mailing list