lua-users home
lua-l archive

Re: debug.traceback() without message but with level doesn't seem to wok

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


> >The manual is wrong. It should read like this:
> >
> > debug.traceback ([thread,] [message [, level]])
> >
> >You can use nil as your message to specify a level without a message.
> 
> This case was (somewhat hidden) in my first message too:
> 
> $ lua -e 'print( debug.traceback( nil, 1 ) )'
> nil
> 
> With this arguments it doesn't work at all.
I am sorry. By mistake I checked with Lua 5.2.
-- Roberto

AltStyle によって変換されたページ (->オリジナル) /