[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: debug.traceback as an error handler for coroutines
- From: Matt Campbell <mattc@...>
- Date: Sat, 04 Mar 2006 09:54:12 -0600
Is there a way to use debug.traceback as an error handler for
coroutines, so I can get a traceback if an error occurs inside a
coroutine? I don't see a way to do it from Lua, using either
coroutine.resume or the function returned by coroutine.wrap. So can a C
function be written to do this? Thanks.
"The Accessibility Anywhere People"