[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: lua 5.2 beta & error level
- From: Matthew Wild <mwild1@...>
- Date: Thu, 3 Nov 2011 16:37:17 +0000
On 3 November 2011 13:53, Eduardo Ochs <firstname.lastname@example.org> wrote:
> On Thu, Nov 3, 2011 at 11:42 AM, liam mail <email@example.com> wrote:
>> Why not overwrite the traceback function and strip the message down to
>> the information you want to reveal? Personally when I ask for a
>> traceback (which is what error is doing) I want to see the traceback
> By the way: what do you guys use when you have to define your own
> traceback functions?
> I'd like to stop reinventing the wheel (and making it square). Any
Afraid not. Here's my wheel that I committed earlier today:
I have to say, debug.traceback()'s parameter-handling logic is
absolutely mind-bending and bites me every time I try to use it.
Implementing it was even worse (I don't claim I've got it completely