mono / mono

Mono open source ECMA CLI, C# and .NET implementation.
https://www.mono-project.com
Other
11.06k stars 3.81k forks source link

Blazor - client side debugging #15649

Open mkArtakMSFT opened 5 years ago

mkArtakMSFT commented 5 years ago

From @alexiordan on Wednesday, July 10, 2019 9:46:36 AM

Visual Studio 2019 16.2.0 Preview 3 .NET Core SDK: 3.0.100-preview6-012264

Chrome ver. 75....

I am able to open the DevTools window and see the C# code in browser However when I try to set a breakpoint, it fails with following message in asp.net core console

BP request for 'BreakPointRequest Assembly: bapp.dll File: ~/Pages/Counter.razor Line: 13 Column: 8' runtime ready True location ''
Could not resolve breakpoint request: BreakPointRequest Assembly: bapp.dll File: ~/Pages/Counter.razor Line: 13 Column: 8
BP req {
  "lineNumber": 13,
  "url": "file:~/bapp/Pages/Counter.razor",
  "columnNumber": 8,
  "condition": ""
}

What am I doing wrong?

Copied from original issue: aspnet/AspNetCore#12043

lewing commented 5 years ago

Can you reproduce the problem with a newer preview?

bookofdom commented 4 years ago

Mac OS Catalina VSCode 1.41.1 Chrome : Version 79.0.3945.88 (Official Build) (64-bit)

BP request for 'BreakPointRequest Assembly: fc.dll File: /Users/home/Dropbox%20(Montane%20Labs)/Ascent%20Factory/Projects/FantasyCutthroat/fc/Pages/Bstraptest.razor Line: 53 Column: 8' runtime ready True location '' Could not resolve breakpoint request: BreakPointRequest Assembly: fc.dll File: /Users/home/Dropbox%20(Montane%20Labs)/Ascent%20Factory/Projects/FantasyCutthroat/fc/Pages/Bstraptest.razor Line: 53 Column: 8 BP req { "lineNumber": 53, "url": "file:///Users/home/Dropbox (Montane Labs)/Ascent Factory/Projects/FantasyCutthroat/fc/Pages/Bstraptest.razor", "columnNumber": 8, "condition": "" }

Having the same issue.