A: 

Don't do that?

1800 INFORMATION
Patient: Doctor, it hurts when I do this... Doctor: Don't do that!
David Thibault
Pointless response.
You should ask better questions. This will encourage better answers.
1800 INFORMATION
A: 

Another alternative:

  1. Study for 10 years to become a really good programmer
  2. Apply for (and get) a job at Microsoft in the Visual Studio team
  3. Fix the bug
1800 INFORMATION
Pointless response.
A: 

I would highly consider uninstalling and then installing Visual Studio again. Afterwards make sure you have installed available service packs for your VS version.

fuentesjr
A: 
  • Does it happen on all projects or a specific one?
  • Does it only occurs when a specific file is open?
  • Try re-installing visual studio and any/all service packs.
David Thibault
+1  A: 

First, check Windows Update and make sure both VS environments are up to date.

If that doesn't help, uninstall them both completely, reinstall only 2005, update and test it. If 2005 doesn't crash, install 2008, update and test them both. Don't install any add-ons you may have been using until you've reinstalled and tested both editions of VS.

If one or the other does crash, you should try filing a bug against Visual Studio.

If they didn't crash, install any add-ons that you use one at a time and continue to test both editions after each one. (This will take ages, but that's how it has to be) When they start crashing, remove the offending add-on, and file a bug with the add-on developer. (be sure to tell them what other add-ons you're using, in case it only happens when 2 conflicting add-ons are installed.)

HitScan
A: 

Try to reset the Visual Studio settings (Tools->Import and Export Settings->Reset All Settings).

John
A: 

Maybe you can try to reproduce this using a specific solution and csproject file and report it to Microsoft?

That's the best shot you can ever have.

Ngu Soon Hui