[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Stack trace of errored coroutines?
- From: "Jasmin Patry" <jpatry@...>
- Date: Wed, 25 Feb 2004 17:04:50 -0800
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