[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: coroutines and error handling
- From: Henrik Münther <henrik@...>
- Date: Wed, 25 Jun 2003 18:25:41 +0200
If I start my lua script using lua_pcall() I can set an error handler and
that way get stack dumps etc instead of just the error message itself.
However, if I use coroutines and therefore start the scripts using
lua_resume I do not have this possibility in the call.
So how do I set an error handler when using lua_resume? Especially as I
can't do it through another pcall inside the script either.
---
Regards
Henrik Münther