[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: dumping stack
- From: Philipp Kraus <philipp.kraus@...>
- Date: Tue, 11 Dec 2012 18:53:15 +0100
Am 11.12.2012 um 17:31 schrieb Luiz Henrique de Figueiredo:
>> I create the Lua pointer state, use a own lua_panic function for creating
>> my exception and load the script with luaL_loadstring.
>
> Panic functions are not meant for handling at this level. After a panic,
> a Lua state may be unusable. Use load+pcall for handling normal errors in
> Lua scripts.
Okay, but how can I handle runtime errors or user-defined errors?
- References:
- Re: dumping stack, Philipp Kraus
- Re: dumping stack, Sven Olsen
- Re: dumping stack, Philipp Kraus
- Re: dumping stack, Sven Olsen
- Re: dumping stack, Sven Olsen
- Re: dumping stack, Philipp Kraus
- Re: dumping stack, Jerome Vuarand
- Re: dumping stack, Philipp Kraus
- Re: dumping stack, Jerome Vuarand
- Re: dumping stack, Philipp Kraus
- Re: dumping stack, Luiz Henrique de Figueiredo