Break on mutate not working

97 views
Skip to first unread message

russtolium

unread,
Oct 14, 2011, 12:23:09 PM10/14/11
to Firebug
I've started to familiarize myself with the features of Firebug beyond
the basic HTML/CSS inspection I use it for and one thing I haven't
been able to figure out is the Break on Mutate button in the top left
corner of the HTML tab. I have tried it on a page specifically
dedicated to testing it (http://www.janodvarko.cz/firebug/tests/
BreakOnMutate/breakOnMutate.html) and have had no luck. I toggle it to
activate and it does nothing as relevant DOM events happen on the
page. I have tried selecting the specific element in the html node
view and right clicking to check all 3 'break on' options and still
nothing happens.

I am using Firefox 7.01 and I've tried it on Firebug 1.8.3 and the
recent 1.9.0a3 version. I've tried to use it on 3 different machines,
1 Mac and 2 PCs, and haven't had any luck. Is there something about
this that I'm missing?

Sebo

unread,
Oct 17, 2011, 4:59:49 AM10/17/11
to fir...@googlegroups.com, odv...@gmail.com
Is there something about this that I'm missing?
No. I have the same problem using 1.8.3 and 1.9.0a3. Though this seems to be fixed in the latest sources of the 1.9 branch.

Honza, wasn't it you, that fixed that issue? This is something, that should be backported to the 1.8 branch.

Sebastian

Jan Honza Odvarko

unread,
Oct 19, 2011, 8:26:20 AM10/19/11
to Firebug
The test description was not precise, I have fixed it.

The important thing is that the Script panel must be enabled and page
reloaded.
(breaking in the debugger always needs the debugger activated)

Then it works for me.

I believe that the "Break on Mutation" button (and other 'break on...'
buttons)
should be disabled when the Script panel is disabled. There could also
be a tooltip
that says: Enabled the Script panel to use this features.

If you file a bug I'll fix it.

Honza

On Oct 17, 10:59 am, Sebo <sebastianzart...@gmx.de> wrote:
> > Is there something about this that I'm missing?
>
> No. I have the same problem using 1.8.3 and 1.9.0a3. Though this seems to be
> fixed in the latest sources<http://code.google.com/p/fbug/source/browse/branches/firebug1.9>of the 1.9 branch.

Sebo

unread,
Oct 19, 2011, 9:41:02 AM10/19/11
to fir...@googlegroups.com

The test description was not precise, I have fixed it.
Thanks for that.
 
The important thing is that the Script panel must be enabled and page
reloaded.
(breaking in the debugger always needs the debugger activated)
I am always reloading before trying and at my other PC it wasn't working. Though at the PC I am currently on it's working fine.
russtolium, is it working for you?

I believe that the "Break on Mutation" button (and other 'break on...'
buttons)
should be disabled when the Script panel is disabled. There could also
be a tooltip
that says: Enabled the Script panel to use this features.

If you file a bug I'll fix it.
 Issue 4925. While fixing that please also note issue 2995.

Sebastian


Honza

russtolium

unread,
Oct 20, 2011, 1:49:49 PM10/20/11
to Firebug
I also had my script panel enabled and reloaded each time but I'm
still not getting anything. I reinstalled Firebug 1.8.3 and on my Mac
it seemed to break on mutation as expected the first time I tried,
then never again. On my PC I kept it at 1.8.3 and it didn't notice any
difference after double checking. I also noticed that when I turn
break on mutate on, the orange glow around the HTML tab label
disappears after a mutation has occured (but not broken as expected),
which I assume also happens when the button is working as expected.

On Oct 19, 9:41 am, Sebo <sebastianzart...@gmx.de> wrote:
> > The test description was not precise, I have fixed it.
>
> Thanks for that.
>
> > The important thing is that the Script panel must be enabled and page
> > reloaded.
> > (breaking in the debugger always needs the debugger activated)
>
> I am always reloading before trying and at my other PC it wasn't working.
> Though at the PC I am currently on it's working fine.
> russtolium, is it working for you?
>
> I believe that the "Break on Mutation" button (and other 'break on...'> buttons)
> > should be disabled when the Script panel is disabled. There could also
> > be a tooltip
> > that says: Enabled the Script panel to use this features.
>
> > If you file a bug I'll fix it.
>
>  Issue 4925 <http://code.google.com/p/fbug/issues/detail?id=4925>. While
> fixing that please also note issue 2995<http://code.google.com/p/fbug/issues/detail?id=2995>
> .

russtolium

unread,
Oct 20, 2011, 2:06:13 PM10/20/11
to Firebug
Hmm, quick followup. After quitting and restarting Firefox on my PC it
seems to be working consistently. I did the same thing on the Mac and
it worked a few times but now it's busted again. Script panel enabled,
refreshed page. Very strange...

Sebo

unread,
Nov 2, 2011, 10:53:45 AM11/2/11
to fir...@googlegroups.com
It seems there's still a problem with the Break On ... features of the HTML panel.
What I did:
  1. Opened Firebug on http://www.gmx.net/
  2. Enabled the Script panel
  3. Switched to the HTML panel
  4. Inspected the element with #uimTopPosition
  5. Right-clicked on it and chose Break On Child Addition or Removal
  6. Reloaded the page
=> Script execution should be stopped, because the element with the classes module withoutHeader is added

Sebastian
Reply all
Reply to author
Forward
0 new messages