Lua Coroutines and Fibers
Hey
My implementation of Lua uses Fibers to be able to jump back and forth between segments of code etc. This allows me to wait on animations from the scripts and then continue any script processing.
The problem I'm having is that when I run it though Decoda it breaks at,
int newline = getline(p, npc);
... in,
static void traceexec (lua_State *L, const Instruction *pc)
... with an Access violation. But outside of Decoda it's fine.
Any ideas?
My implementation of Lua uses Fibers to be able to jump back and forth between segments of code etc. This allows me to wait on animations from the scripts and then continue any script processing.
The problem I'm having is that when I run it though Decoda it breaks at,
int newline = getline(p, npc);
... in,
static void traceexec (lua_State *L, const Instruction *pc)
... with an Access violation. But outside of Decoda it's fine.
Any ideas?
Comments
My implementation of Lua uses Fibers to be able to jump back and forth between segments of code etc. This allows me to wait on animations from the scripts and then continue any script processing.
The problem I'm having is that when I run it though Decoda it breaks at,
int newline = getline(p, npc);
... in,
static void traceexec (lua_State *L, const Instruction *pc)
... with an Access violation. But outside of Decoda it's fine.
Any ideas?<!--QuoteEnd--></div><!--QuoteEEnd-->
Thanks for the report. I'll look into it. Which version of Lua are you using?