Firebug 1.5 Breakpoints paper submitted to WWW 2010

View: New views
10 Messages — Rating Filter:   Alert me  

Firebug 1.5 Breakpoints paper submitted to WWW 2010

by John J Barton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Our paper on breakpoints and a link to the demo page:
http://blog.getfirebug.com/2009/11/03/dynamic-and-graphical-web-page-breakpoints/

jjb

--

You received this message because you are subscribed to the Google Groups "Firebug" group.
To post to this group, send email to firebug@....
To unsubscribe from this group, send email to firebug+unsubscribe@....
For more options, visit this group at http://groups.google.com/group/firebug?hl=en.



Re: Firebug 1.5 Breakpoints paper submitted to WWW 2010

by Prefontim :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Break on Next is useless in all of my attempts to use it, because
there is always at least one script in one of the tabs in my browser
which is using setTimeout().  It will always stop for this timer, so
that i can't set it on anything else.

On Nov 4, 12:58 am, John J Barton <johnjbar...@...> wrote:
> Our paper on breakpoints and a link to the demo page:http://blog.getfirebug.com/2009/11/03/dynamic-and-graphical-web-page-...
>
> jjb

--

You received this message because you are subscribed to the Google Groups "Firebug" group.
To post to this group, send email to firebug@....
To unsubscribe from this group, send email to firebug+unsubscribe@....
For more options, visit this group at http://groups.google.com/group/firebug?hl=en.



Re: Firebug 1.5 Breakpoints paper submitted to WWW 2010

by John J Barton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



On Nov 4, 7:44 am, Prefontim <Prefon...@...> wrote:
> Break on Next is useless in all of my attempts to use it, because
> there is always at least one script in one of the tabs in my browser
> which is using setTimeout().  It will always stop for this timer, so
> that i can't set it on anything else.

I guess you mean "break on next in the Script" panel, the 1.4 feature?

This sounds like a bug: you are setting break on next in page
"foo.html" and the break is occurring in a JS call in page "bar.html"?
I wish we had a test showing this behavior.
jjb

>
> On Nov 4, 12:58 am, John J Barton <johnjbar...@...> wrote:
>
> > Our paper on breakpoints and a link to the demo page:http://blog.getfirebug.com/2009/11/03/dynamic-and-graphical-web-page-...
>
> > jjb
>
>

--

You received this message because you are subscribed to the Google Groups "Firebug" group.
To post to this group, send email to firebug@....
To unsubscribe from this group, send email to firebug+unsubscribe@....
For more options, visit this group at http://groups.google.com/group/firebug?hl=en.



Re: Firebug 1.5 Breakpoints paper submitted to WWW 2010

by Les Szklanny-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I can provide a test showing this behavior:

1. Go here: http://www.officemax.com/
2. Click Break on Next
3. You will see that almost immediately the debugger stop in a
function function br_indomain_loop()

This function has a timer that wakes up some code every 1000ms, so it
will break inside this loop.

There should be a way for Break on Next to ignore timers.

--

You received this message because you are subscribed to the Google Groups "Firebug" group.
To post to this group, send email to firebug@....
To unsubscribe from this group, send email to firebug+unsubscribe@....
For more options, visit this group at http://groups.google.com/group/firebug?hl=en.



Re: Firebug 1.5 Breakpoints paper submitted to WWW 2010

by John J Barton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



On Nov 4, 9:05 am, Les <les.szkla...@...> wrote:

> I can provide a test showing this behavior:
>
> 1. Go here:http://www.officemax.com/
> 2. Click Break on Next
> 3. You will see that almost immediately the debugger stop in a
> function function br_indomain_loop()
>
> This function has a timer that wakes up some code every 1000ms, so it
> will break inside this loop.
>
> There should be a way for Break on Next to ignore timers.

Ok, but this is not what I understood from Prefontim. I mean, "break
on next" worked as designed, but of course you want another design I
understand.
jjb

--

You received this message because you are subscribed to the Google Groups "Firebug" group.
To post to this group, send email to firebug@....
To unsubscribe from this group, send email to firebug+unsubscribe@....
For more options, visit this group at http://groups.google.com/group/firebug?hl=en.



Re: Firebug 1.5 Breakpoints paper submitted to WWW 2010

by Prefontim :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If i set break on next on foo.html, but have a timer in bar.html, the
the break on next will stop on the timer in bar.html, so this is a
bug.

It would be nice to also have a 'ignore timers' feature, so it won't
keep stopping on these timers.

On Nov 4, 12:12 pm, John J Barton <johnjbar...@...> wrote:

> On Nov 4, 9:05 am, Les <les.szkla...@...> wrote:
>
> > I can provide a test showing this behavior:
>
> > 1. Go here:http://www.officemax.com/
> > 2. Click Break on Next
> > 3. You will see that almost immediately the debugger stop in a
> > function function br_indomain_loop()
>
> > This function has a timer that wakes up some code every 1000ms, so it
> > will break inside this loop.
>
> > There should be a way for Break on Next to ignore timers.
>
> Ok, but this is not what I understood from Prefontim. I mean, "break
> on next" worked as designed, but of course you want another design I
> understand.
> jjb

--

You received this message because you are subscribed to the Google Groups "Firebug" group.
To post to this group, send email to firebug@....
To unsubscribe from this group, send email to firebug+unsubscribe@....
For more options, visit this group at http://groups.google.com/group/firebug?hl=en.



Re: Firebug 1.5 Breakpoints paper submitted to WWW 2010

by Don Dwiggins-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

John J Barton wrote:
> Our paper on breakpoints and a link to the demo page:
> http://blog.getfirebug.com/2009/11/03/dynamic-and-graphical-web-page-breakpoints/

I'm truly impressed.  I've been working with FF3.0.x and FB 1.4x; this
is enough to make me upgrade to FF3.5 to get the new features.

One enhancement occurs to me:

IIUC, some of the new breakpoints can't be set until after an error
occurs, or after an XHR has completed, etc., implying that the page must
be reloaded to cause the breakpoints to be hit.  I can imagine
situations where this might be at least bothersome.  For example,
perhaps the operation so far has resulted in a database change that will
cause the next reload to take a different execution path; in this case,
it'll take some time to restore the context to ensure that the same
condition will recur, and in extemis, might involve restarting the
browser.  Or, perhaps it's late in the day, and I'm getting tired, and a
mysterious problem arises; I don't have time to pursue it, but I'd like
to set the breakpoints before I shut down and have them set tomorrow
morning when I start from fresh.

My suggestion would be to offer a button or menu item to script out the
current breakpoint set to a file, maybe in XML or JSON format, and a
complementary one to load the file to set the breakpoints.  If the
format isn't too arcane, the user might be able to edit the file to
change or create new breakpoints.

FWIW,
--
Don Dwiggins
Advanced Publishing Technology

--

You received this message because you are subscribed to the Google Groups "Firebug" group.
To post to this group, send email to firebug@....
To unsubscribe from this group, send email to firebug+unsubscribe@....
For more options, visit this group at http://groups.google.com/group/firebug?hl=en.



Re: Firebug 1.5 Breakpoints paper submitted to WWW 2010

by Nicolas Hatier-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

An option to ignore mouseover/move/out events for Break On Next would be very helpful too.

NH

Prefontim wrote:
If i set break on next on foo.html, but have a timer in bar.html, the
the break on next will stop on the timer in bar.html, so this is a
bug.

It would be nice to also have a 'ignore timers' feature, so it won't
keep stopping on these timers.

On Nov 4, 12:12 pm, John J Barton johnjbar...@... wrote:
  
On Nov 4, 9:05 am, Les les.szkla...@... wrote:

    
I can provide a test showing this behavior:
      
1. Go here:http://www.officemax.com/
2. Click Break on Next
3. You will see that almost immediately the debugger stop in a
function function br_indomain_loop()
      
This function has a timer that wakes up some code every 1000ms, so it
will break inside this loop.
      
There should be a way for Break on Next to ignore timers.
      
Ok, but this is not what I understood from Prefontim. I mean, "break
on next" worked as designed, but of course you want another design I
understand.
jjb
    

--

You received this message because you are subscribed to the Google Groups "Firebug" group.
To post to this group, send email to firebug@....
To unsubscribe from this group, send email to firebug+unsubscribe@....
For more options, visit this group at http://groups.google.com/group/firebug?hl=en.


  

--

You received this message because you are subscribed to the Google Groups "Firebug" group.
To post to this group, send email to firebug@....
To unsubscribe from this group, send email to firebug+unsubscribe@....
For more options, visit this group at http://groups.google.com/group/firebug?hl=en.

Re: Firebug 1.5 Breakpoints paper submitted to WWW 2010

by John J Barton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm looking into an alternative model for these kinds of cases. The
"break on next except not on mouse over not on mouse out not on
setTimeout noto setInterval" seems like problem.

jjb

On Nov 4, 10:57 am, Nicolas Hatier <nicolas.hat...@...> wrote:

> An option to ignore mouseover/move/out events for Break On Next would be
> very helpful too.
>
> NH
>
> Prefontim wrote:
> > If i set break on next on foo.html, but have a timer in bar.html, the
> > the break on next will stop on the timer in bar.html, so this is a
> > bug.
>
> > It would be nice to also have a 'ignore timers' feature, so it won't
> > keep stopping on these timers.
>
> > On Nov 4, 12:12 pm, John J Barton <johnjbar...@...> wrote:
>
> >> On Nov 4, 9:05 am, Les <les.szkla...@...> wrote:
>
> >>> I can provide a test showing this behavior:
>
> >>> 1. Go here:http://www.officemax.com/
> >>> 2. Click Break on Next
> >>> 3. You will see that almost immediately the debugger stop in a
> >>> function function br_indomain_loop()
>
> >>> This function has a timer that wakes up some code every 1000ms, so it
> >>> will break inside this loop.
>
> >>> There should be a way for Break on Next to ignore timers.
>
> >> Ok, but this is not what I understood from Prefontim. I mean, "break
> >> on next" worked as designed, but of course you want another design I
> >> understand.
> >> jjb
>
> > --
>
> > You received this message because you are subscribed to the Google Groups "Firebug" group.
> > To post to this group, send email to firebug@....
> > To unsubscribe from this group, send email to firebug+unsubscribe@....
> > For more options, visit this group athttp://groups.google.com/group/firebug?hl=en.
>
>

--

You received this message because you are subscribed to the Google Groups "Firebug" group.
To post to this group, send email to firebug@....
To unsubscribe from this group, send email to firebug+unsubscribe@....
For more options, visit this group at http://groups.google.com/group/firebug?hl=en.



Re: Firebug 1.5 Breakpoints paper submitted to WWW 2010

by Mike Ratcliffe-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am not sure about whether it would be possible, but an option to
listen for certain events might be a good idea. The pause button could
have a dropdown ... "Break on:" mousemove, keyup, settimeout,
click ... I guess the problem is that the list would be big :o/

Actually, the list 'aint that big:
anyevent, oncopy, oncut, onpaste, onbeforeunload, onblur, onchange,
onclick, oncontextmenu, ondblclick, onfocus, onkeydown, onkeypress,
onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup,
onresize, onscroll, ontimeout, onInterval

But I am sure you already have things in mind for this.

On Nov 4, 9:20 pm, John J Barton <johnjbar...@...> wrote:

> I'm looking into an alternative model for these kinds of cases. The
> "break on next except not on mouse over not on mouse out not on
> setTimeout noto setInterval" seems like problem.
>
> jjb
>
> On Nov 4, 10:57 am, Nicolas Hatier <nicolas.hat...@...> wrote:
>
> > An option to ignore mouseover/move/out events for Break On Next would be
> > very helpful too.
>
> > NH
>
> > Prefontim wrote:
> > > If i set break on next on foo.html, but have a timer in bar.html, the
> > > the break on next will stop on the timer in bar.html, so this is a
> > > bug.
>
> > > It would be nice to also have a 'ignore timers' feature, so it won't
> > > keep stopping on these timers.
>
> > > On Nov 4, 12:12 pm, John J Barton <johnjbar...@...> wrote:
>
> > >> On Nov 4, 9:05 am, Les <les.szkla...@...> wrote:
>
> > >>> I can provide a test showing this behavior:
>
> > >>> 1. Go here:http://www.officemax.com/
> > >>> 2. Click Break on Next
> > >>> 3. You will see that almost immediately the debugger stop in a
> > >>> function function br_indomain_loop()
>
> > >>> This function has a timer that wakes up some code every 1000ms, so it
> > >>> will break inside this loop.
>
> > >>> There should be a way for Break on Next to ignore timers.
>
> > >> Ok, but this is not what I understood from Prefontim. I mean, "break
> > >> on next" worked as designed, but of course you want another design I
> > >> understand.
> > >> jjb
>
> > > --
>
> > > You received this message because you are subscribed to the Google Groups "Firebug" group.
> > > To post to this group, send email to firebug@....
> > > To unsubscribe from this group, send email to firebug+unsubscribe@....
> > > For more options, visit this group athttp://groups.google.com/group/firebug?hl=en.

--

You received this message because you are subscribed to the Google Groups "Firebug" group.
To post to this group, send email to firebug@....
To unsubscribe from this group, send email to firebug+unsubscribe@....
For more options, visit this group at http://groups.google.com/group/firebug?hl=en.