Hi list,
where can I find a version in Lua of debug.traceback()?
Probably not 100% what you want, but here is a reimplementation of debug.traceback() in Lua, though it has a different, much more verbose, output format (though it also has a 'table' output so you could try to generate something more like Lua's own if you want):
https://hg.prosody.im/trunk/file/tip/util/debug.lua#l121