lua-users home
lua-l archive

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


Hello,

I am wondering if there is an easy way to set an error handler function when calling lua_resume. 
I would like to be able to trap errors in threads and display a callstack.  But it appears that
the stack has been unwound by the time lua_resume returns.  The solution to this when using
lua_pcall is to set an error handler function, and I was wondering if there was a similar
technique available for threads.

Thanks very much,

-Moe