Debugging Blazor Web Assembly app in Visual Studio

Piyush Meshram 20 Reputation points

I am using Visual Studio 2022 professional version 17.7.4 (64 bit) I have created a blazor web assembly project with individual user accounts. When trying to debug Blazor application at first it worked but then once It stopped hitting breakpoints in the Client project, breakpoint triggers in the Server project just fine but not in the client. It says no symbols loaded so the breakpoint won't hit. What went wrong? I have tried deleting .vs folder and restarting the system. but it didn't work. how can I make it work again?


A set of technologies in the .NET Framework for building web applications and XML web services.
4,142 questions
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,379 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,592 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
938 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ruikai Feng - MSFT 2,526 Reputation points Microsoft Vendor

    Hi,@Piyush Meshram,you could try follow these steps: Start debugging and check symbol load infomation: User's image

    check if .pdb file which is for symbols is in the correct location User's image

    If clean and rebuild the project still don't work for you ,create a project that could debug,check the options in properties-- build tab and compare with your current project: User's image

    Also,you may try follow this document

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    Best regards,
    Ruikai Feng

    0 comments No comments