lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

>Is there anyway in the current LUA framework to take a running (but
>yielded) lua state and serialize it to disk then load it back up and
>resume execution where it was before the dump to file?

Try lper at .
It's experimental but seems to work...

>If not, and I wanted to some how do this where should I start digging?
>Thinking about this, I really only need a way of grabbing the current PC
>pos and the execution stack.

Perhaps it's easier to reorganize your code so that you can restart from
the beginning of a function...