Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am having a Firefox with plenty of add-ons installed. Sometimes Firefox get stuck with high CPU usage on the pages having no Flash. I'd like to solve what's causing this in a more professional manner than randomly disabling extensions, as this method is unreliable, since the high CPU usage cannot be reproduced in a reliable manner.

Is there a way to produce a thread-dump out of Firefox to see what threads there are running and where they spend their time?

Platform: Mac OS X (if Firefox doesn't have a platform neutral tool here...)

share|improve this question
up vote 3 down vote accepted

Debugging instructions are at , but before you spend a lot of time on it, review - debugging is a slow tedious process, and other methods are likely to pay off more quickly:

First off - determine if it's an extension at all by seeing if it happens in safe mode. Second, if it is an extension, because most extensions are interpreted code, it's going to be difficult to distinguish from a debugger or thread-dump which extension is causing it. Process of elimination remains your best bet - not randomly disabling, but systematically working through the possible suspects. Finally, there are a few "usual suspects", documented across various knowledge bases, forums, and mailing lists. is one such list. Mozilla tries to automatically identify ones causing slow startup time at too - while slow startup time doesn't guarantee that it's also a CPU hog while firefox is running, there's enough correlation that it's worth checking the addons listed first.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .