lua-users home
lua-l archive

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


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
"The Accessibility Anywhere People"