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]
- Subject: Re: debug.traceback() without message but with level doesn't seem to wok
- From: Roberto Ierusalimschy <roberto@...>
- Date: 2011年6月14日 08:42:12 -0300
> >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