Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/sdks
diff options
context:
space:
mode:
authorLarry Ewing <lewing@microsoft.com>2020-02-25 03:31:52 +0300
committerGitHub <noreply@github.com>2020-02-25 03:31:52 +0300
commited012b6e89361eae546ef1fc5c103b41dcb8b299 (patch)
treec79af1e709cdb8d6decfd3c44261ff57ba331dce /sdks
parent9fa3eb26e1adacd6add7fd437bcdabcf7162903b (diff)
[wasm][debugger] revert DotNetUrl changes (#19021)
Diffstat (limited to 'sdks')
-rw-r--r--sdks/wasm/Mono.WebAssembly.DebuggerProxy/DebugStore.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdks/wasm/Mono.WebAssembly.DebuggerProxy/DebugStore.cs b/sdks/wasm/Mono.WebAssembly.DebuggerProxy/DebugStore.cs
index 3e45adbbd75..eb09140742b 100644
--- a/sdks/wasm/Mono.WebAssembly.DebuggerProxy/DebugStore.cs
+++ b/sdks/wasm/Mono.WebAssembly.DebuggerProxy/DebugStore.cs
@@ -68,7 +68,7 @@ namespace WebAssembly.Net.Debugging {
if (Uri.TryCreate (url, UriKind.Absolute, out var docUri) && docUri.Scheme == "dotnet") {
return (
docUri.Host,
- docUri.PathAndQuery
+ docUri.PathAndQuery.Substring (1)
);
} else {
return (null, null);
@@ -484,7 +484,7 @@ namespace WebAssembly.Net.Debugging {
public string DebuggerFileName { get; }
public string Url { get; }
public string AssemblyName => assembly.Name;
- public string DotNetUrl => $"dotnet://{assembly.Name}{DebuggerFileName}";
+ public string DotNetUrl => $"dotnet://{assembly.Name}/{DebuggerFileName}";
public SourceId SourceId => new SourceId (assembly.Id, this.id);
public Uri SourceLinkUri { get; }