From cafb56569d44a2031ea615dc6128f3e7b1f249e4 Mon Sep 17 00:00:00 2001 From: Steve Sanderson Date: Tue, 3 Jul 2018 14:57:10 +0100 Subject: [PATCH] Initial debugger support --- samples/MonoSanity/wwwroot/index.html | 2 +- samples/MonoSanity/wwwroot/loader.js | 24 ++- .../MonoSanityClient/MonoSanityClient.csproj | 5 +- .../src/Boot.ts | 2 +- .../src/Platform/DotNet.ts | 6 - .../src/Platform/Mono/MonoDebugger.ts | 50 +++++ .../src/Platform/Mono/MonoPlatform.ts | 83 +++++--- .../src/Platform/Mono/MonoTypes.d.ts | 12 +- .../src/Platform/Url.ts | 11 ++ .../Core/RuntimeDependenciesResolver.cs | 12 +- .../targets/All.props | 9 +- .../targets/All.targets | 1 + .../targets/Blazor.MonoRuntime.props | 2 +- .../targets/Blazor.MonoRuntime.targets | 19 +- .../targets/BuiltInBclLinkerDescriptor.xml | 14 -- .../AutoRebuild/AutoRebuildExtensions.cs | 10 +- .../BlazorAppBuilderExtensions.cs | 40 ++-- .../BlazorConfig.cs | 4 +- .../MonoDebugProxyAppBuilderExtensions.cs | 178 ++++++++++++++++++ .../MonoDebugProxy/ws-proxy/Startup.cs | 4 +- .../MonoDebugProxy/ws-proxy/WsProxy.cs | 4 +- .../RuntimeDependenciesResolverTest.cs | 5 + 22 files changed, 411 insertions(+), 86 deletions(-) delete mode 100644 src/Microsoft.AspNetCore.Blazor.Browser.JS/src/Platform/DotNet.ts create mode 100644 src/Microsoft.AspNetCore.Blazor.Browser.JS/src/Platform/Mono/MonoDebugger.ts create mode 100644 src/Microsoft.AspNetCore.Blazor.Browser.JS/src/Platform/Url.ts create mode 100644 src/Microsoft.AspNetCore.Blazor.Server/MonoDebugProxy/MonoDebugProxyAppBuilderExtensions.cs diff --git a/samples/MonoSanity/wwwroot/index.html b/samples/MonoSanity/wwwroot/index.html index 1ec28effde..2d0cb1ee94 100644 --- a/samples/MonoSanity/wwwroot/index.html +++ b/samples/MonoSanity/wwwroot/index.html @@ -68,7 +68,7 @@