[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: catching errors?
- From: "Brian J. Swetland" <swetland@...>
- Date: Thu, 19 Aug 1999 06:21:23 -0700
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 - email@example.com | "I take it you have never actually
http://www.frotz.net/swetland/ | tried to light a whiteboard on
| fire." --Jay Kreibich