Wednesday, February 11, 2009

Unhandled Win32 Exception Crashes Firefox After Installing Microsoft Visual Studio 2005 (Just In Time Debugger)

The other day I installed Visual Studio 2005 Pro on my machine at office. A little later, I started Firefox and got this error from the Visual Studio Just In Time Debugger:

An unhandled win32 exception occurred in firefox.exe

I Google'd it and I came across this page on the Firefox support forum. None of the suggestions really worked for me but here's what did:

  1. I started Firefox in safe mode
  2. In the dialog that came up, I chose to disable all add-ons (you could also Continue in Safe Mode to first check if Firefox does start up and then disable add-ons from there)
  3. I started Firefox in 'normal mode' and it worked.
  4. I then re-enabled each plugin, one by one, to determine exactly which one was causing the problem.
  5. In my case it turned out to be the QuickTest Professional 9.5 Plugin. These other plugins didn't seem to bother VS 2005:
    • DOM Inspector
    • Firebug
    • Free Download Mananger plugin
    • Google Toolbar for Firefox
    • IE Tab
    • Java Quick Starter
    • Live HTTP Headers
    • Modify Headers


The other suggestions in the forum said to disable the JIT debugger (doesn't really help, all it does is bring up a dialog saying that no debugger was found!), make a new profile/ reinstall ( I suspect that if this works, it's probably because all the plugins are removed ) and for a couple of people, the problem was with AVG Safe Search/ Search Shield.

So YMMV but this is what worked for me.

6 comments:

Anonymous said...

You're great!! Thank's to your tip I solve, finally, my problem!!

no.good.at.coding said...

Glad I could help. I was pretty frustrated with this problem myself, until I found this way out :)

Anonymous said...

Awesome !! Thanks a ton man !!..it worked right away..i was so frustrated with this for quite some time. YOU ROCK !!!..... God bless ya n may u emerge a valedictorian at in your MAsters course ! .... :)

Anonymous said...

HEy, i'm the same 'Anonymous' guy from the previous msg..my name is VIshnu...since ure studyin in the US, u might be able to help..im 23 years old ... i wanna do my undergrad studies in MIT, USA or Stanford... wanna major in Computer Science...will they take a guy like me ??? i'll give the SAT n all ..ths not a prob..do they have age limits or somthin ??....i'm pretty good at Math n stuff...jus tht i never went to college in India due to the cirumstances...do i have chances?? please gimme advice...lookin forward to your reply mate.

Anil said...

Great man!!! Great! I was finding the region and solution for the problem for long times. Great observation!

mon205 said...

Thanks a lot. Yes, it is a plug-in problem.
In my case it is the AVG Safe Search 10.0.0