lua-users home
lua-l archive

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

What's the best place to hook into lua's internal error mechanisms?

Does everything go through error() at some point or is there something
lower down that's better to use?

I'd like to be able to catch both parse/compile errors as well as runtime
errors and drop into a debugging environment where I can use the debugger
API calls to display stack frame, examine variables and the like.


 Brian J. Swetland - | "I take it you have never actually      |  tried to light a whiteboard on
                                        |  fire."               --Jay Kreibich