diff options
author | Thays Grazia <thaystg@gmail.com> | 2022-11-09 00:01:04 +0300 |
---|---|---|
committer | github-actions <github-actions@github.com> | 2022-11-11 15:26:40 +0300 |
commit | 07ed42b7edde78e4fdd8a628feaa85478ca29e7d (patch) | |
tree | 618c6c39b6ce18de0e1bea4ec34f1de94d58aee2 | |
parent | 403aa5841adfb6501f2016522917ce95150b16a5 (diff) |
DotnetDebugger.setDebuggerProperty does not depend of having a session.backport/pr-78066-to-release/7.0
-rw-r--r-- | src/mono/wasm/debugger/BrowserDebugProxy/MonoProxy.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mono/wasm/debugger/BrowserDebugProxy/MonoProxy.cs b/src/mono/wasm/debugger/BrowserDebugProxy/MonoProxy.cs index b311dc01e60..387718d08b2 100644 --- a/src/mono/wasm/debugger/BrowserDebugProxy/MonoProxy.cs +++ b/src/mono/wasm/debugger/BrowserDebugProxy/MonoProxy.cs @@ -283,8 +283,11 @@ namespace Microsoft.WebAssembly.Diagnostics if (pauseOnException != PauseOnExceptionsKind.Unset) _defaultPauseOnExceptions = pauseOnException; } - // for Dotnetdebugger.* messages, treat them as handled, thus not passing them on to the browser - return method.StartsWith("DotnetDebugger.", StringComparison.OrdinalIgnoreCase); + if (method != "DotnetDebugger.setDebuggerProperty") + { + // for Dotnetdebugger.* messages, treat them as handled, thus not passing them on to the browser + return method.StartsWith("DotnetDebugger.", StringComparison.OrdinalIgnoreCase); + } } switch (method) |