deivid-rodriguez/byebug — pull request #72 by shuky19 (2014-06-03 16:54:52+00:00)
Title: BugFix: Make control-thread DebugerThead instead of normal Thread

Usecase:
1. Start Debug process with Byebug.start_server
2. Connect to debug server with Byebug.start_client (port 8989)
3. Connect to control server with Byebug.start_client (port 8990)
4. Ensure debug server is active (not on 'continue')
5. Write any command on the control client (for example: b test.rb:5)

At that point the control client is not responsive due to
thread halt (the halt is done automatically for each non debugger thread).

The fix convert the control thread to DebugThread (as it should be), and by that prevents
halting it by the debug mechanism.

For the record, this behavior is implemented correctly in Debugger gem.

Thanks,
Shuky