mirror of
https://github.com/ZuneDev/MicrosoftIris.git
synced 2026-07-27 13:13:29 -07:00
UIX debugger improvements
This commit is contained in:
@@ -17,7 +17,7 @@ public static class DebugRemoting
|
||||
|
||||
internal static IFormatter CreateBsonFormatter() => new BsonFormatter(new StreamingContext(StreamingContextStates.Remoting));
|
||||
|
||||
internal static Data.DebuggerMessageFrame ReceiveDebuggerMessage(Socket socket)
|
||||
internal static Data.DebuggerMessageFrame ReceiveDebuggerMessage(Socket socket, IFormatter formatter)
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -33,7 +33,7 @@ public static class DebugRemoting
|
||||
byte[] frameBytes = new byte[frameLength];
|
||||
socket.Receive(frameBytes, frameLength, SocketFlags.None);
|
||||
|
||||
return new(frameBytes);
|
||||
return new(frameBytes, formatter);
|
||||
}
|
||||
catch (SocketException)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user