|
Via the C interface I’ve simply tried loading them via lua_load() and checking for errors.
It gets more complicated if you export C functions to Lua because it can’t check the syntax or argument validity of those calls without your C functions doing that work explicitly.
From: lua-bounces@bazar2.conectiva.com.br [mailto:lua-bounces@bazar2.conectiva.com.br] On Behalf Of Vasanta
Sent: Monday, February 01, 2010 1:27 PM
To: lua
Subject: How to debug lua scripts from target board running with embedded linux
I have embedded linux board, how to debug lua scripts?. I used "sh -x" for shell scripts, I need to debug lua ASAP.