[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: Mon, 13 Jun 2011 12:37:56 -0300
> I have problems using debug.traceback() with level but without message argument.
> The reference manual seems to indicate that both arguments are optional:
>
> debug.traceback ([thread,] [message] [, level])
>
> But the following script demonstrates that it seems impossible to use debug.traceback() this way:
>
> [...]
>
> Is this a issue with the reference manual or with the implementation?
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.
-- Roberto