lua-users home
lua-l archive

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


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