lua-users home
lua-l archive

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


Hi,

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).

--
Fabio

>10/18/05, Frank Black <loba_loba@hotmail.com> 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!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
>