Fix FireFox Plugin Container Crash When Debugging Flash

I'm mostly posting this for my future reference, as this is the third time I've had to fix this issue. The basics are this:

Since FireFox 3.6, Mozilla added a plugin container that runs plugins in their own process. This prevents nasty browser crashes when the plugin crashes. Overall, it was a good move on Mozilla's part.

However, for Flash and Flex developers, this can represent an issue when debugging your movie. When in debug mode and you have set a breakpoint, FireFox will think the plugin is hung if you have it paused for more than 15 seconds. When this happens, FireFox will kill the plugin container process, crashing your debug session.

The fix to this is easy. Go to about:config in your FireFox address bar. After confirming the disclaimer, you can set the dom.ipc.plugins.timeoutSecs to the value you want. A value of -1 will turn this off completely and will not timeout the plugin. The downside to this, of course, is that it will not kill plugins that are actually hung. It is the main reason I now use Chrome for my primary browser and FireFox mainly for testing.

I found this fix at http://support.mozilla.com/pa-IN/questions/705281

Tags: Flex, Flash & AS3

6 responses so far ↓

  • 1 David Salahi // Jan 25, 2011 at 3:23 PM

    Thanks for the tip! I had been wondering why Firefox suddenly got broken (for debugging).
  • 2 nico limpika // Feb 4, 2011 at 5:25 PM

    I love you man!
  • 3 TJ Downes // Feb 4, 2011 at 5:38 PM

    I love you too man! In the plutonic, appreciative sort of way ;)
  • 4 Philip // Nov 23, 2011 at 12:01 PM

    Handy tip - thanks! :D
  • 5 Andrew // Jan 30, 2012 at 4:18 PM

    Go About:Config?
  • 6 Michael // Apr 12, 2012 at 10:23 AM

    +1 Awesome!

Leave a Comment

Leave this field empty: