Add socket timeouts to the soft debugger.
authorMartin Baulig <martin@novell.com>
Wed, 27 Apr 2011 15:48:10 +0000 (17:48 +0200)
committerMartin Baulig <martin@novell.com>
Tue, 3 May 2011 11:54:09 +0000 (13:54 +0200)
commit96ed2eac54985e35f0cc1c3c7ddb7809febf5257
tree90fe8b22c8ab50b525d6f9a675aa56f58c8e38a5
parent7226b726dafef640717ba1f2cef5b553169b7e41
Add socket timeouts to the soft debugger.

SDB now support setting a send/receive timeout on the client's side
of the communication socket.  To make this work, the server sends
a special 'keepalive' event when using receive timeouts.

There's a new method VirtualMachine.SetSocketTimeouts() to enable
this feature.
mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs
mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/EventType.cs
mcs/class/Mono.Debugger.Soft/Mono.Debugger.Soft/VirtualMachine.cs
mono/mini/debugger-agent.c