Patches: Browse | Submit New | Admin

[#12614] Allow remote clients to disconnect.

Date:
2007-07-27 05:14
Priority:
3
Submitted By:
Justin Greer (ezran)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Allow remote clients to disconnect.

Detailed description
I guess you could call this a patch, though it's more like an extension.


I was thinking it would be helpful to allow remote debugging clients to disconnect, for example if you wanted to
programmatically send commands to rdebug.  (For temporarily checking in on long-running processes, or things like TextMate
integration.)

I've put together a proof-of-concept that seems to work reasonably well, but I wouldn't imagine this method would be
how to implement it in the long run.  For now, though, you can just run this rdebug_disconnectable instead of the normal
rdebug, and it monkey-patches a couple bits to make disconnecting/reconnecting possible.


I wanted this to be usable without having to manually modify the installed gem, which is part of why it's kinda' funky.
Any thoughts on doing a more realistic implementation of this feature in a future version?

Add A Comment: Notepad

Please login


Followup

Message
Date: 2007-12-14 02:49
Sender: Rocky Bernstein

Sorry for the delay. In principle what you propose is fine. Can
you revise this for the current SVN sources?

Thanks.

Attached Files:

Name Description Download
rdebug_disconnectable Extended version of rdebug that allows remote clients to disconnect. Download

Changes:

Field Old Value Date By
File Added2291: rdebug_disconnectable2007-07-27 05:14ezran