Yesterday at work, I was working on an ASP.NET AJAX project, having 3rd party AJAX controls as well as .NET controls on a Web form.
At a point, Visual Studio 2008 started crashing badly (required restart), whenever an unhandled exception or breaking point was reached after an AJAX callback. That was really strange, I have never seen any Visual Studio product (and I have used all of them…) behaving in such a way.
What I did first to resolve the problem, was to try debugging the project with a different browser. All problems were gone while using Firefox, step-by-step debugging was working absolutely fine.
Therefore I was convinced that something wrong was going on with Internet Explorer.
I remembered that on the first day of using Visual Studio 2008 I have enabled that “Script Debugging” option.
So on Internet Explorer I went to:
Tools -> Internet Options -> Advanced -> (Browsing) Disable Script Debugging
Hopefully that completely resolved the problem, no more IDE crashes.