When connecting to remote debugger, breakpoints won't be hit and dlls not showing in module window

Michael Warden 0 Reputation points
2024-12-10T18:03:47.21+00:00

I have a multi project solution that I have deployed to a local server that has both a MVC site and an API service to populate it. When I try to attach to the w3wp process with the remote debugger, while the Microsoft dlls show up in the module window, none of the solution's dlls are visible. The breakpoints in the solution also show that they will not be hit.

I've experienced this a few times before and usually deleting the bin, obj, and vs folders then rebuilding have solved the problem but it isn't working this time.

Things that I have verified:

  • I've deployed the debug build
  • Just my Code is not selected
  • My Visual Studio and the Remote Debugger are version 2022

Any ideas as to what my next steps might be?

Internet Information Services
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
355 questions
{count} votes

Your answer

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