lua-users home
lua-l archive

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


> Quick list of changes from 4.0  to 5.0:
>
> [...]
> - better error messages

Ah, yes, the elusive error messages.

Quite often, my program will simply quit after a call to lua_call() without
giving any sort of error message, and it's usually(i.e. always) due to some
mistake I made in lua files(such as trying to access an entry in a table
that doesn't exist). I assume that I'm doing things wrong here - how do I
get error messages from Lua to appear so that I can see what's going on
instead of relying on trial and error?

Thanks in advance,
~Nick