|
My dubugger works like this. The hook yields from any line, when you resume the program it may call lua_resume on a lua_state standing at any possible instruction.
I also have the metamethod case, as I have some callable objects which yield on call.
--
Thomas