lua-users home
lua-l archive

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

> Interesting, I would like (besides fixing the current problem) to implement some debuging facilities in my project. Can you give some more details?

In specific, the lua_getinfo function in the API can get code fragments out

lua_getinfo(L, ">S", &ar);
printf("%s", ar.source);

There's also plenty of info in the manuals, and on the wiki.