Why am I unable to Debug my ASP.NET website in Visual Studio?

Posted by willem on Stack Overflow See other posts from Stack Overflow or by willem
Published on 2010-03-15T11:39:22Z Indexed on 2010/03/15 11:49 UTC
Read the original article Hit count: 286

Filed under:
|

I used to be able to attach to my w3wp process and Debug my web application, but this is not working anymore. I have no idea what changed to break this.

My breakpoints simply have the "breakpoint will currently not be hit. The source code is different from the original version."

What I have tried:

  • Did a solution Clean.
  • Did a solution Rebuild.
  • Deleted the bin folder
  • Restarted Visual Studio
  • Restarted IIS
  • Restarted my Computer
  • Added a simple Response.Write to ensure that the latest DLL is being used. It is.
  • Made sure that Debug ASP.NET is checked in my project properties. It is.
  • Made sure that all my projects are compiled in my build configuration. They are.

But none of these help. I attach to w3wp, but my breakpoints never get hit.

Any ideas?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about debugging