1 | initial version |
I think there must be a better way, but the only one I've found (besides inserting print
s here and there) is setting a debug line hook like
function hookl(event, line)
print(event..' '..line..' '..tostring(debug.getinfo(2).name))
end
…
debug.sethook(hookl, 'l')
…
debug.sethook()
and seeing where the console output stops.