From 5f1d381d01fd5c96bb0a46819fe4b8a50620b9fb Mon Sep 17 00:00:00 2001 From: Ilona Tomkowicz <32700855+ilonatommy@users.noreply.github.com> Date: Tue, 13 Jun 2023 12:03:22 +0000 Subject: [PATCH 1/2] Revert unintentionally removed logging. --- src/mono/wasm/debugger/DebuggerTestSuite/InspectorClient.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mono/wasm/debugger/DebuggerTestSuite/InspectorClient.cs b/src/mono/wasm/debugger/DebuggerTestSuite/InspectorClient.cs index 16f715ecd7137f..5b9ef96057a40e 100644 --- a/src/mono/wasm/debugger/DebuggerTestSuite/InspectorClient.cs +++ b/src/mono/wasm/debugger/DebuggerTestSuite/InspectorClient.cs @@ -98,6 +98,7 @@ public virtual Task SendCommand(SessionId sessionId, string method, JObj MessageId msgId = new MessageId(sessionId.sessionId, id); pending_cmds.AddOrUpdate(msgId, tcs, (key, oldValue) => tcs); + logger.LogTrace($"SendCommand: to: {args}"); var str = o.ToString(); From 21e49062243122b70988f3dc8d46b9fb4998fc35 Mon Sep 17 00:00:00 2001 From: Ilona Tomkowicz <32700855+ilonatommy@users.noreply.github.com> Date: Wed, 14 Jun 2023 08:19:52 +0000 Subject: [PATCH 2/2] Fix --- .../wasm/debugger/DebuggerTestSuite/FirefoxInspectorClient.cs | 1 + src/mono/wasm/debugger/DebuggerTestSuite/InspectorClient.cs | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mono/wasm/debugger/DebuggerTestSuite/FirefoxInspectorClient.cs b/src/mono/wasm/debugger/DebuggerTestSuite/FirefoxInspectorClient.cs index 46d411b6fa828f..4cb831d6e3878e 100644 --- a/src/mono/wasm/debugger/DebuggerTestSuite/FirefoxInspectorClient.cs +++ b/src/mono/wasm/debugger/DebuggerTestSuite/FirefoxInspectorClient.cs @@ -235,6 +235,7 @@ public override Task SendCommand(SessionId sessionId, string method, JOb msgId = new FirefoxMessageId("", 0, to_str); pending_cmds.AddOrUpdate(msgId, tcs, (key, oldValue) => tcs); + logger.LogTrace($"SendCommand: to: {args}"); var msg = args.ToString(Formatting.None); var bytes = Encoding.UTF8.GetBytes(msg); diff --git a/src/mono/wasm/debugger/DebuggerTestSuite/InspectorClient.cs b/src/mono/wasm/debugger/DebuggerTestSuite/InspectorClient.cs index 5b9ef96057a40e..16f715ecd7137f 100644 --- a/src/mono/wasm/debugger/DebuggerTestSuite/InspectorClient.cs +++ b/src/mono/wasm/debugger/DebuggerTestSuite/InspectorClient.cs @@ -98,7 +98,6 @@ public virtual Task SendCommand(SessionId sessionId, string method, JObj MessageId msgId = new MessageId(sessionId.sessionId, id); pending_cmds.AddOrUpdate(msgId, tcs, (key, oldValue) => tcs); - logger.LogTrace($"SendCommand: to: {args}"); var str = o.ToString();