> [...] > Problem is, even when level is 0, lua_getstack returns 0. What happens with the "default" error hook? Do you get a correct stack trace? (Because the default hook also uses lua_getstack, starting from 1...) -- Roberto