Flash Debug Player Causing Firefox Crashes – A Fix

Problem

If you’ve updated to a recent version of Firefox and also use the Flash Debug Player to debug Flash & Flex apps, you may already be painfully aware of the recent changes to the way Firefox 3.6.6 handles its plugins.

Now, rather than simply alerting you,  letting you dismiss the error and continue on your merry way, Firefox takes control and kills the process for you because it detects that something is wrong. This completely disables the plugin and prevents you from debugging your app (while making you hang around for 45 seconds, just to infuriate you that little bit more) ;]

This also causes a problem during general day-to-day surfing because any site that doesn’t handle errors properly and/or throws null objects ( … yeah channel4.com I’m looking at you!) will also result in your Flash plugin being disabled.

Solution

You need to go in to the Firefox config settings (type about:config in to the location bar) and search for dom.ipc.plugins.enabled.npswf32.dll – double click that to set it to false. You may also need to set dom.ipc.plugins.timeoutSecs to -1. Now restart your browser and you should once again be able to debug your apps and dismiss the warnings as you used to do in the good old days. Ahhhhh bliss.

More info here.

[UPDATE]
In Firefox 4.0.1 dom.ipc.plugins.enabled.npswf32.dll (needed for the solution above) no longer seems available. You can still try disabling the plugin-crash-detection as follows: dom.ipc.plugins.timeoutSecs to -1

18 thoughts on “Flash Debug Player Causing Firefox Crashes – A Fix

  1. Pingback: Flassari.is » Flash Debug Player crashing Firefox

  2. robb

    Thank you for this, it’s been driving me batty for weeks, and I was growing weary of switching between the debug player and the regular player!

  3. Corey

    Thank you soooo much, I was having no idea why my flash was hanging when I was trying to debug, once I followed your steps the issue is now resolved! Awesome!

  4. Caleb

    unfortunately it appears that I am unlucky as this does not seem to fix the problem for me. Firefox 3.6.13, debug flashplayer 10.1, Ubuntu 10.10

  5. Edward Hackney

    OMG THANK YOU! Seriously I was about to smash my pc to bits because of that bug, very site it throwing up null objects and causing firefox to hang for 1min and then disable flash, your a life saver.

    peace!

  6. Ron

    OMG you’re a lifesaver, as a Flash developer I want to debug my files without the constant urge of blowing my computer up – thanks!

  7. Dylan Baxter

    This fix does seem to work most of the time, at least until you run an application with lots of CDN connection errors like Pandora, MTV network video players, etc. Then Firefox will crash all over you anyway :(

  8. Haris

    Hi,

    Mac user, but i can’t find the “dom.ipc.plugins.enabled.npswf32.dll” in the about:config

    Please help, I Can’t test my apps on firefox and staging environment.

    thank you in advance!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>