lua-users home
lua-l archive

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


The exception should return the actual error message, including line
number. If you want greater control you can use Lua exception handling
in your scripts (check the manual or the Programming in Lua book for
detailed instructions).


>10/18/05, Frank Black <> wrote:
> Hi,
> I'm using LuaInterface for a while now and the scripts are getting somewhat
> bigger. The problem is that whenever I call a lua.DoString() on a script
> that contains errors, I just get an exception, and can't get to the exact
> statement that actually caused it. Is there a function/class/concept in
> LuaInterface that I missed or can somebody show me how to get this info ?
> Thanks in advance,
> Frank
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today it's FREE!