May 28, 2009
3:46 a.m.
I tried to use rstack's functions to reconstruct interpreter level stack like following.. http://sourceforge.net/tracker/?func=browse&group_id=58965&atid=489447&status=2 I've implemented them as interpreter level functions. In freeze(), I captured python level frame objects, and try to unwind the stack with stack_unwind, and in resume() I try to reconstruct the c frame stack with resume_state_create/invoke and python frame with cloned frames. But it seems like it doesn't take effect at all (I tested it under stackless enabled translated version of pypy) What am I doing wrong? Thanks.