lua-users home
lua-l archive

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


Frank,

> I know there are debugger that can trace through LUA code but is there any
> easy way to debug in a mix environment where control is being passed back
> and forth between LUA and C++?

Do you mean that you want to be able to debug both Lua and C++ code,
or do you mean you want to be able to debug Lua code where the control
is switched between Lua and C++ code? I'm not sure if there are any
IDEs that can do the former, but almost any debugger that is based on
debug hooks should be able to do the latter.

I've been using my debugger (https://github.com/pkulchenko/MobDebug)
with Lua applications and also with engines written in C++ (love2d,
moai) without problems (the debugging is limited to Lua code).

Paul.

On Wed, Aug 8, 2012 at 7:02 PM, Frank B. <cfrankb.2000@gmail.com> wrote:
> Hi.
>
> In the process of putting together a game construction kit, The core engine
> is written in C++ amd I'm using LUA for event handlings. As the project
> moves forward I'd to like to shift more responsabilities tow LUA.
>
> I know there are debugger that can trace through LUA code but is there any
> easy way to debug in a mix environment where control is being passed back
> and forth between LUA and C++?
>
> Regards,
> Frank B.
>