Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
adressing @radical comments
  • Loading branch information
thaystg authored Oct 28, 2022
commit cb3d9bba272ce9a9e14e1a7d4d4728e861beeac8
8 changes: 2 additions & 6 deletions src/mono/wasm/debugger/BrowserDebugProxy/MonoProxy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -268,9 +268,7 @@ protected override async Task<bool> AcceptCommand(MessageId id, JObject parms, C
_defaultPauseOnExceptions = pauseOnException;
}
// don't pass through DotnetDebugger.* messages to the browser
if (method.StartsWith("DotnetDebugger.", StringComparison.Ordinal))
return true;
return false;
return method.StartsWith("DotnetDebugger.", StringComparison.OrdinalIgnoreCase);
}

switch (method)
Expand Down Expand Up @@ -570,9 +568,7 @@ protected override async Task<bool> AcceptCommand(MessageId id, JObject parms, C
}
}
// don't pass through DotnetDebugger.* messages to the browser
if (method.StartsWith("DotnetDebugger.", StringComparison.Ordinal))
return true;
return false;
return method.StartsWith("DotnetDebugger.", StringComparison.OrdinalIgnoreCase);
}

private async Task<bool> ApplyUpdates(MessageId id, JObject args, CancellationToken token)
Expand Down