September 2009 Blog Posts

Debug – Terminate All

I was debugging an ASP.NET Web Application Project today and when I got to a breakpoint and then clicked the Stop Debugging tool button, it appeared to stop just fine, closing Internet Explorer and returning me to my editor. But what really happened was that the code had continued to run.  I thought I had seen this behavior before, but this time I had conclusive proof because it updated 45 records in my database with data representing the bug which had led me to want to stop in the first place. So what happened?  I thought when I told...

«September»
SunMonTueWedThuFriSat
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910