Codepolice

Random posts from Ola in English. Mainly about programming and the web.

Problems with debuging in VS 2010

I opened up an old bloated project today in Visual Studio 2010 and i had huge issues with debugging. I usually use the attach to process way in this project but that suddenly that didn’t work anymore. Then i tried to debug with F5 but that caused my entire Visual Studio to hang. As i said, this is a old and bloated project.

Finally i realized that for some reason the “Attach to process” dialog had change the option “Attach to:” and it was set to “Managed (4.0) code”. When i changed it to “Managed (v2.0, v1.1, v1.0) code” it worked again.

Leave a Reply