Firebug 1.8a2

46 views
Skip to first unread message

Jan Honza Odvarko

unread,
Apr 22, 2011, 10:34:06 AM4/22/11
to Firebug

demongloom

unread,
Apr 22, 2011, 11:26:55 PM4/22/11
to Firebug
Memory profiler is a great and long awaited feature!

1. Any way to call memory profiler from js. Like
console.memoryProfile() ?
2. Where I can find any explanation about memory profiler columns?
What each mean, where is leak, where is not.

Thanks.

On Apr 22, 5:34 pm, Jan Honza Odvarko <odva...@gmail.com> wrote:
> http://blog.getfirebug.com/2011/04/22/firebug-1-8a2/
>
> Honza

John J Barton

unread,
Apr 23, 2011, 12:45:10 AM4/23/11
to Firebug


On Apr 22, 8:26 pm, demongloom <dmitry.bakalei...@gmail.com> wrote:
> Memory profiler is a great and long awaited feature!
>
> 1. Any way to call memory profiler from js. Like
> console.memoryProfile() ?

Oh that's a good idea! If you open a bug report I bet we'd do it for
a3.
http://code.google.com/p/fbug/issues/list

> 2. Where I can find any explanation about memory profiler columns?
> What each mean, where is leak, where is not.

The top half with the the columns are data out of Firefox. You can
guess from the column headings as well as we can. I guess you can read
Firefox source to learn more. We hope to learn more from feedback.

The bottom half, Object Added, is a delta. When you click the button,
we mark all the objects. Then you do some event, and click again: we
show you the delta. You need to decide if the delta is a leak or just
normal operations. Think of this like a breakpoint debugger or a
console.log() line: you do an operation and you get a screen full of
values or a line of a log. You know the operation and you know what to
expect. If you see something you don't expect, investigate.

By the way we know the delta is incomplete. So we need to hear that
this feature is worth finishing. The remaining cases are all harder
and we don't want to fix them if no one will ever use it.

jjb

Jan Honza Odvarko

unread,
Apr 25, 2011, 3:51:34 AM4/25/11
to Firebug
On Apr 23, 6:45 am, John J Barton <johnjbar...@johnjbarton.com> wrote:
> > 1. Any way to call memory profiler from js. Like
> > console.memoryProfile() ?
Yep, I have been also thinking about this.
Patch committed at R10172. Will be in Firebug 1.8a3

Honza

reesd

unread,
Apr 29, 2011, 1:32:17 PM4/29/11
to Firebug
To be clear, 1.8 is currently only for FF 5 now? Will it eventually
support FF 4?

And should folks stay away from it completely on FF 4, or do you want
alpha testing/feedback on FF 4 issues?

FF 4 debugging issues have caused me enough pain, I really don't want
to touch FF 5 yet.

Jan Honza Odvarko

unread,
Apr 30, 2011, 12:46:37 AM4/30/11
to Firebug


On Apr 29, 7:32 pm, reesd <d...@ubiqsoft.com> wrote:
> To be clear, 1.8 is currently only for FF 5 now? Will it eventually
> support FF 4?
Firebug 1.8 supports both: Firefox 4.0 and 5.0 beta (Aurora)

> And should folks stay away from it completely on FF 4, or do you want
> alpha testing/feedback on FF 4 issues?
Yes we want the feedback.

> FF 4 debugging issues have caused me enough pain, I really don't want
> to touch FF 5 yet.
For me Firebug 1.8 works well on FF 5 (and all our tests pass)

Honza

kwerboom

unread,
May 21, 2011, 4:24:15 AM5/21/11
to Firebug
I installed Firefox 5 Beta on my machine and found that Firebug 1.7.1
was listed as incompatible. I searched and found that Firebug 1.8a2
was for Firefox 5 Beta. When I installed Firebug 1.8a2, my copy of
Firefox 5 Beta crashed and I had to access "safe mode" from the run
box in Windows 7 to go in and uninstall Firebug 1.8a2 to get Firefox 5
Beta working again. Would you please make sure that Firebug 1.8a3
works better so that I can install that?

John J Barton

unread,
May 21, 2011, 11:27:44 AM5/21/11
to Firebug
Firebug is not capable of crashing Firefox through any operation. If
Firefox crashes, it's a Firefox bug. Please report it to
http://bugzilla.mozilla.org.

Since our automated tests pass for FF5 + 1.8a2, I suggest you try
installing Firebug 1.8a2 into a new Firefox profile. I bet you will
find that it does not crash.

jjb

kwerboom

unread,
May 21, 2011, 8:24:30 PM5/21/11
to Firebug


On May 21, 10:27 am, John J Barton <johnjbar...@johnjbarton.com>
wrote:
> On May 21, 1:24 am, kwerboom <keithgallis...@gmail.com> wrote:
>
> > I installed Firefox 5 Beta on my machine and found that Firebug 1.7.1
> > was listed as incompatible. I searched and found that Firebug 1.8a2
> > was for Firefox 5 Beta. When I installed Firebug 1.8a2, my copy of
> > Firefox 5 Beta crashed and I had to access "safe mode" from the run
> > box in Windows 7 to go in and uninstall Firebug 1.8a2 to get Firefox 5
> > Beta working again. Would you please make sure that  Firebug 1.8a3
> > works better so that I can install that?
>
> Firebug is not capable of crashing Firefox through any operation. If
> Firefox crashes, it's a Firefox bug.  Please report it tohttp://bugzilla.mozilla.org.
>
> Since our automated tests pass for FF5 + 1.8a2, I suggest you try
> installing Firebug 1.8a2 into a new Firefox profile. I bet you will
> find that it does not crash.
>
> jjb


1. Retried with a clean profile and Firebug 1.8a2: worked.
2. Retried with old profile with only 'development window' open and
Firebug 1.8a2: worked.
3. Retired with old profile with both 'development window' and 'web
surfing window' open and Firebug 1.8a2: crashed.
4. Went into safe mode and looked through websites in 'web surfing
window'. Closed out 482 tabs that I read but forgot to close. I've
been using 'browser.sessionstore.max_concurrent_tabs' set to '0' to
only load the active tab in each window.
5. Retired with old profile with both 'development window' and cleaned
up 'web surfing window' (with only 88 current tabs I keep open for
Folding@Home status/Steam/GOG.com/New Egg/PHP.net/Reddit/Beta News/
etc.) open and Firebug 1.8a2: worked.

I don't know why Firefox 4 w/ Firebug 1.7.1 (along with the Firefox 4
Betas w/ Firebug 1.7betas) and Firefox 5 Beta w/o Firebug 1.8a2 didn't
crash opening but not loading a window with 570 tabs and why Firefox 5
Beta w/ Firebug 1.8a2 did crash under those same conditions. I realize
that I'm an edge case as far as tab usage and hoarding goes. I did
submit a bug per your recommendation and here is the number: <a
href="https://bugzilla.mozilla.org/show_bug.cgi?id=658830">Bug 658830
</a>.

All said it wasn't a bad thing that it happened as I did finally close
out a bunch of old tabs. Thank you for recommending that I try a clean
profile. You were right that it was a problem on my end.

--kwerboom

John J Barton

unread,
May 21, 2011, 8:26:49 PM5/21/11
to Firebug
Thanks for the detailed followup. It may help others.
jjb

kwerboom

unread,
May 21, 2011, 9:11:56 PM5/21/11
to Firebug


On May 21, 10:27 am, John J Barton <johnjbar...@johnjbarton.com>
wrote:
> On May 21, 1:24 am, kwerboom <keithgallis...@gmail.com> wrote:
>
> > I installed Firefox 5 Beta on my machine and found that Firebug 1.7.1
> > was listed as incompatible. I searched and found that Firebug 1.8a2
> > was for Firefox 5 Beta. When I installed Firebug 1.8a2, my copy of
> > Firefox 5 Beta crashed and I had to access "safe mode" from the run
> > box in Windows 7 to go in and uninstall Firebug 1.8a2 to get Firefox 5
> > Beta working again. Would you please make sure that  Firebug 1.8a3
> > works better so that I can install that?
>
> Firebug is not capable of crashing Firefox through any operation. If
> Firefox crashes, it's a Firefox bug.  Please report it tohttp://bugzilla.mozilla.org.
>
> Since our automated tests pass for FF5 + 1.8a2, I suggest you try
> installing Firebug 1.8a2 into a new Firefox profile. I bet you will
> find that it does not crash.
>
> jjb


Reply all
Reply to author
Forward
0 new messages