[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: [ANN] Lua 5.1.5 (rc1) now available
- From: Richter, Jörg <Joerg.Richter@...>
- Date: Fri, 10 Feb 2012 20:15:47 +0000
> My documentation reads like this:
>
> debug.traceback ([thread,] [message [, level]])
>
> which means that you cannot give a level without a message.
>
> -- Roberto
My bad. I missremembered my testcase:
-----
local c = coroutine.create( function() coroutine.yield() end )
coroutine.resume(c)
print( debug.traceback(c,nil,1) )
-----
Output:
-----
nil
-----
Expected:
-----
stack traceback:
a.lua:1: in function <a.lua:1>
-----