I have been developing an application in C # (using VS2008) for quite some time and about a week ago “Edit and Continue” stopped working for me. I can edit the code while debugging, but any small change I make in the code now forces me to stop the project and restart it. The message I receive is the following:
Modifying a 'method' which contains a lambda expression will prevent the debug session from continuing while edit and continue is enabled.
Oddly enough, I don't even use lambda when this happens. Changing the same piece of code last week in debug mode allowed me to continue without problems. I conducted various searches on the Internet to find out what I could do to cause this change in behavior. The only help I can find on the Internet is directly related to debugging ASP.NET web projects. However, this part of my solution is a Windows Forms project.
What is the problem? Is there any way to fix this? I would really appreciate any help.
source share