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

Reply via email to