[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: debug.traceback as an error handler for coroutines
- From: Matt Campbell <mattc@...>
- Date: Sat, 04 Mar 2006 09:54:12 -0600
Hello:
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.
--
Matt Campbell
Lead Programmer
Serotek Corporation
www.freedombox.info
"The Accessibility Anywhere People"