Remote Debug ASP.NET Core on Azure App Service modules not loading and not hitting the breakpoint

Srinivas Vadlakonda 0 Reputation points
2023-03-06T12:57:54.9633333+00:00

I have followed the steps from the below microsoft URL. But windows-->modules are not loading and break point not hitting.

https://learn.microsoft.com/en-us/visualstudio/debugger/remote-debugging-azure-app-service?view=vs-2022Image

Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | Visual Studio | Debugging
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-03-07T13:21:49.9+00:00

    Hi @Srinivas Vadlakonda,

    According the picture you shared us, seems the .pdb file not being loaded. So please go to the kudu site and check the .pdb file exist or not.

    Please follow my suggestion to check the issue, it will help you fix it.

    Step 1: Use Attach to process` not `Attach snapshot debugger`

    User's image

    Step 2: Find the w3wp.exe, then double click it.
    User's image

    Step 3: Open the Modules window, and check the mudolue is loaded or not.

    User's image

    User's image

    Step 4: If you still facing that issue, make sure you using debug mode to deploy the app and .pdb file is exist.

    User's image


    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,

    Jason Pan


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.