fireunit icon indicating copy to clipboard operation
fireunit copied to clipboard

fireunit.* is undefined

Open jaraco opened this issue 12 years ago • 2 comments
trafficstars

It appears as if fireunit does exactly what I want - profile a function. Following the blog entries, I believe I've done everything I can to enable fireunit. In particular, I've followed the steps outlined in the blog:

  1. Installed the latest fireunit (1.0a4) from fireunit.org.
  2. Enabled console and script tabs in firebug.
  3. Ensured the ‘extensions.firebug.throttleMessages’ property in ‘about:config’ is set to ‘false’.

aside: should these steps be documented in the readme or similar?

Nevertheless, when I try to utilize fireunit, I get the error:

fireunit.profile is not a function

I see a similar user got this error in this comment, and the response is to get the latest fireunit. Of course, I already have the latest (in fact, 1.0a4 appears to be newer than the source code as found in this repo, which shows 1.0a3).

I'm using the latest stable Firefox (19.0.2) and Firebug (1.11.2).

Does fireunit need a bumped release? Is there something more I can do to troubleshoot the issue or identify the cause? I look forward to any suggestions you may provide.

jaraco avatar Mar 27 '13 16:03 jaraco

i am also facing the same problem, can someone help?

deepugn avatar Apr 02 '13 10:04 deepugn

After some consideration, I discovered that firebug has a built-in profiler. I'm guessing that fireunit is deprecated; it just hasn't been advertized as such.

jaraco avatar Apr 02 '13 12:04 jaraco