locked
Breakpoints not firing. RRS feed

  • Question

  • User-1800146227 posted

    I'm working on my first Blazor PWA app and having no luck at all getting debugging breakpoints to fire in Visual Studio 2019 Preview. I thought that this would work right out of the box. Does anyone have any suggestions where I should look to get breakpoints working?

    Monday, May 18, 2020 7:00 PM

Answers

  • User-821857111 posted

    Blazor was officially released the day after your post. It would be a good idea, if oyu haven't already done so, to update to the released version and use the latest released version of Visual Studio (instead of a Preview) to see if that resolves the issue.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, May 28, 2020 9:54 AM

All replies

  • User-821857111 posted

    Blazor was officially released the day after your post. It would be a good idea, if oyu haven't already done so, to update to the released version and use the latest released version of Visual Studio (instead of a Preview) to see if that resolves the issue.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, May 28, 2020 9:54 AM
  • User379720387 posted

    mikesdotnetting has good advice.

    Once you are all up to date you can start debugging by:

    SHIFT ALT D

    copy the link to the browser (edge or chrome)

    close browser tabs

    open up command window and paste the link

    There are instructional videos on youtube.

    Thursday, May 28, 2020 12:00 PM
  • User-1800146227 posted

    Yep. I was watching the Build 2020 video and noticed that. I upgraded VS 2019, Pro and Preview, and breakpoints are working as expected.

    Thanks!

    Thursday, May 28, 2020 4:25 PM