JonathanDotCel/NOTPSXSerial

GDB Server Crash On Remote Disconnect

Closed this issue · 2 comments

When the GDB bridge client disconnects, either unexpectedly or after a standard transfer, the program crashes in GDB.cs

RecieveCallback: ConnectionReset exception - need to overload EndReceive call with an out parameter for the error code

Similar crash in MonitorSerialToSocket & RecieveCallback

It seems this file might have several function calls with unhandled error catches. need to review error handling/catching, and consider remote disconnect behavior e.g.: exit vs restart

Didn't have enough time to work on this properly this evening, dropped some bug details here instead.

93.6% sure this got fixed before release and I just forgot about the open issue, closing.