[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [Q] debugging Lua and C/C++ in one go
- From: "steve donovan" <steve.j.donovan@...>
- Date: Thu, 14 Feb 2008 08:46:54 +0200
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
On Feb 13, 2008 6:47 PM, Leo Razoumov <email@example.com> wrote:
> On 2/13/08, steve donovan <firstname.lastname@example.org> 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?