Debugger is not hitting breakpoint set in SharePoint 2010 application code in Visual Studio

VG 0 Reputation points
2024-09-19T11:25:46.3666667+00:00

I have my SharePoint 2010 application code in Visual Studio. I did clean, rebuild and deploy solution. I have done "Attach to Process" w3wp.exe files in the debug, but debugger is not hitting breakpoint when trying to work on UI. IIS reset is not helpful. Can someone please help on this.

Microsoft 365 and Office | SharePoint | Development
Developer technologies | Visual Studio | Debugging
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.
Developer technologies | ASP.NET | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. AgaveJoe 30,396 Reputation points
    2024-09-19T12:05:11.3566667+00:00

  2. RaytheonXie_MSFT 40,551 Reputation points Microsoft External Staff
    2024-09-20T06:48:45.4033333+00:00

    Hi @VG,

    Please check the following steps in the document

    https://learn.microsoft.com/en-us/troubleshoot/developer/visualstudio/debuggers/troubleshooting-breakpoints#the-breakpoint-was-successfully-set-no-warning-but-didnt-hit


    If the answer is helpful, 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.


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.