lua-users home
lua-l archive

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


----- Original Message -----
From: Rapin Patrick
Date: 2/15/2013 12:47 PM
Decoda had no difficulty to debug the code in the internal files, because it places hooks on lua_load* API functions. Exactly how, I don't know (I haven't studied the sources yet).
Although the LuaPlus remote debugger is no longer supported, it used an API addition to Lua called lua_setloadnotifyfunction(). From there, it could grab source code and send it over the network to the debugger.

Decoda sounds like it does something similar, only it was able to do so without patching the Lua source code.

-Josh