I do have one further question for Mike. What do you think of the idea of a prototype for lua_sethook() that reads like: typedef void (*lua_Hook) (lua_State *L, lua_Debug *ar, void* userdata); DB