Re: Overriding debug.traceback

  • From: Mike Pall <mike-1403@xxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Sat, 15 Mar 2014 11:17:32 +0100

Ignacio Burgueño wrote:
> I see that Lua 5.2.3 is also ignoring debug.traceback...

Well, yes, for the same reason why LuaJIT does it. Lua 5.2
introduced luaL_traceback() and LuaJIT has it, too.

So there's no reason anymore to tediously resolve debug.traceback
and invoke it as a separate function. That caused trouble in some
complex error scenarios or when the debug library was removed.

--Mike

Other related posts: