lua-users home
lua-l archive

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



On 16/06/2014 03:14, Thomas Jericke wrote:
On 06/15/2014 04:20 PM, Thiago L. wrote:
I'm messing with coroutines and sandboxing and I need a way to yield from a debug hook. This would let my code check for interrupts on every instruction and stuff... Does anyone have a patch for doing this?


You don't need a patch to do this, at least not in Lua 5.2
--
Thomas

Uhh really? Why didn't it work then? (tested w/ lua 5.2.3)