Log GDB server exceptions

This commit is contained in:
svc64 2023-08-05 21:37:28 +03:00
parent a366890cb5
commit 9b9137bf0a

View file

@ -586,8 +586,9 @@ namespace Ryujinx.HLE.Debugger
Logger.Notice.Print(LogClass.GdbStub, "GDB client lost connection"); Logger.Notice.Print(LogClass.GdbStub, "GDB client lost connection");
goto restartListen; goto restartListen;
} }
catch (Exception) catch (Exception ex)
{ {
Logger.Error?.Print(LogClass.GdbStub, ex.ToString());
Logger.Notice.Print(LogClass.GdbStub, "GDB stub socket closed"); Logger.Notice.Print(LogClass.GdbStub, "GDB stub socket closed");
return; return;
} }