[browser][debugger][MT] Make operations on dictionary thread-safe follow-up (#87474)
authorIlona Tomkowicz <32700855+ilonatommy@users.noreply.github.com>
Wed, 14 Jun 2023 22:05:51 +0000 (00:05 +0200)
committerGitHub <noreply@github.com>
Wed, 14 Jun 2023 22:05:51 +0000 (18:05 -0400)
* Revert unintentionally removed logging.

* Fix

src/mono/wasm/debugger/DebuggerTestSuite/FirefoxInspectorClient.cs

index 46d411b..4cb831d 100644 (file)
@@ -235,6 +235,7 @@ class FirefoxInspectorClient : InspectorClient
 
         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);