Hi, K Thanks for your instruction. I will try with this.
Best regards. Lv Wentao. 2010/9/3 Kristján Valur Jónsson <[email protected]> > In the current version of python, tracing and profiling state (used by > the debugger) are local to each tasklet. > > It depends on the debugger you are using... but you should try to call > sys.settrace() in your tasklet to set it to the correct tracing function. > > > > In your main code, do: > > Profiler = sys.gettrace(), > > Then in your tasklet: > > Sys.settrace(Profiler) > > > > K > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Wentao Lv > *Sent:* Friday, September 03, 2010 14:52 > *To:* [email protected] > *Subject:* [Stackless] how to debug stackless tasklet? > > > > Hi, I'm trying to debug stackless tasklet, but it seems that my debugger > can't hit the breakpoint with in a tasklet. > > > > Is there anyway to run into tasklet? I tried with eclipse/pydev & pdb but > with no luck > > > > Thanks in advance. > > > > Best Regards. > > Lv Wentao. > > _______________________________________________ > Stackless mailing list > [email protected] > http://www.stackless.com/mailman/listinfo/stackless >
_______________________________________________ Stackless mailing list [email protected] http://www.stackless.com/mailman/listinfo/stackless
