lua-users home
lua-l archive

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


On Thu, Feb 14, 2013 at 5:19 PM, Paul K <paulclinger@yahoo.com> wrote:
> In ZBT's case, it looks like the program being debugged needs to be modified
> in order to be debugged by putting `require("mobdebug").start()` somewhere
> near the start of the Lua code. In Decoda's case, absolutely zero
> modifications are needed.

True; although as I understand you'd still need to have debugging
symbols for your executable available for Decoda, which means you may
need to recompile the project anyway.

Paul.

Either you need debugging symbols (which you'll have by default if you're compiling the code), or you need the Lua API functions to be exported from an image (which you'll have if the Lua core exists in one DLL and is used in a different DLL or EXE).