[Stackless] How do I get a callstack of a Tasklet ?

Richard Tew richard.m.tew at gmail.com
Tue Jul 5 15:48:56 CEST 2011


On Tue, Jul 5, 2011 at 8:38 PM, Hussain Bohra <hussainbohra_30 at yahoo.com> wrote:
> I am able to get and display all the running tasklets in the UI. But I also
> want to display the callstack for each tasklet. I am not able to generate a
> callstack for these tasklets.

t = stackless.current
import traceback
traceback.print_stack(t.frame)

?



More information about the Stackless mailing list