lua-users home
lua-l archive

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

It's probably posible:
1) debug the app with GDB; could be Lua itself, main thing is that you can
set breakpoints in any extension library.
2) Use RemDebug to attach to the Lua code using a local socket.

In fact, this can probably be done with two instances of scite-debug,
I'll do this experiment tonight.

Of course, first prize is getting it all in one debugger front-end instance!
Technically, I can persuade scite-debug to keep two debug engines
going (the beauty of object-orientation!) but the output parser then
has to be more clever and work out which engine the output is
coming from.

steve d.

On Feb 13, 2008 6:47 PM, Leo Razoumov <> wrote:
> On 2/13/08, steve donovan <> wrote:
> > You could probably attach two different debuggers to your process,
> > although this is of course not so elegant ;)
> >
> I do not think it will work. Which debugger will run the main function
> and intercept and dispatch break_point events?
> --Leo--