lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


>Lua 5.1.5 (rc1) is now available at
>	http://www.lua.org/work/lua-5.1.5-rc1.tar.gz

debug.traceback(thread,level) still doesn’t work as documented:

local c = coroutine.create( function() coroutine.yield() end )
coroutine.resume(c)
print( debug.traceback(c,1) )

Output:
-----
1
stack traceback:
        [C]: in function 'yield'
        a.lua:1: in function <a.lua:1>
-----

Expected:
-----
stack traceback:
        a.lua:1: in function <a.lua:1>
-----

   Jörg