lua-users home
lua-l archive

Stack trace of errored coroutines?

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


An (apparently unanswered) email to this list a few months back asked a question that I now am seeking an answer to:
http://lua-users.org/lists/lua-l/2003-08/msg00435.html
In short, I am wondering how to register an error handler with coroutine.resume so that I can obtain a stack trace to the location of the error inside the coroutine. This doesn't appear to be possible using the standard libraries supplied with Lua. Has anybody written their own version of coroutine.resume that works this way?
Cheers,
Jasmin

AltStyle によって変換されたページ (->オリジナル) /