Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I think there must be a better way, but the only one I've found (besides inserting prints 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.