On Wed, 30 May 2012, Benoît Minisini wrote: > Le 30/05/2012 15:04, tobi a écrit : > > > > Don't know how remote debugging programs like gdb or something work with > > this, but a naive and > > the more annoying-to-write approach could be a socket on the other side > > which receives commands. > > There are passed through a function that selects the debugging functions by > > identifiers (strings > > would be best, I think). Depending on what is possible with the current > > debugger, parameter(s) are > > required (pointers? names?) and a way to obtain them from the debugger over > > there (this could be > > the only addition to the debugger process interface). The socket over there > > writes back the data > > so that the IDE here can display the stuff as if it was received from the > > debugger... This is a > > technically not that complicated protocol, I think. Quickly googled, the > > gdb seems to have > > implemented a GDB remote protocol, too - what else? > > (Written freely without security considerations) > > > > Regards, > > Tobi > > > > Actually the Gambas debugger already works like that, except that it is > based on a local named pipe, and not a socket. > > -- > Benoît Minisini > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user
Doesn't make this things (or, at least, my suggestion) even simpler? One only has to build some TCP (I assume that's what things will work on) code around it...? The only problem that I see would be to find a clever way to have both for either local or remote to affect the minimum amount of other software but you know the code and where to start. So, what's the problem here then? Do you find that solution awkward? (I bet you do not as the debugger already works like this ;)) Regards, Tobi ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user