Re: Debugging an onResize function

137 views
Skip to first unread message

Jan Honza Odvarko

unread,
Jul 30, 2012, 3:18:42 AM7/30/12
to Firebug
Yep, this is known Firefox problem, see:
https://bugzilla.mozilla.org/show_bug.cgi?id=582613

Related report in Firebug issue list:
http://code.google.com/p/fbug/issues/detail?id=3286

Honza


On Jul 28, 5:19 am, Orthoducks <jhsachs....@gmail.com> wrote:
> I'm using Firebug with Firefox 10 under Windows 7.
>
> I'm trying to debug a simple JavaScript function that is called by the
> <body> tag's onResize event.
>
> I set a breakpoint at the first statement of the function and resized the
> window. I wanted Firebug to halt the function at the breakpoint. Instead,
> my entire system froze. I couldn't get Firefox or Firebug to respond. I
> couldn't switch tasks because the cursor would not enter the task bar. The
> mouse pointer was a vertical double-headed arrow (the image I would expect
> if I were moving a division between upper and lower panels of a window).
>
> I suspect this is happening because Windows queued up multiple onResize
> events and Firebug halted the function while it was processing the first
> one, but I don't understand *why* that is causing a problem -- or, more
> important, how to work around it. Any suggestions?

ed

unread,
Jul 30, 2012, 2:32:41 PM7/30/12
to fir...@googlegroups.com
You can still step through your resize function using the keyboard shortcuts. F8 (Continue) will let it continue just fine.
ed
Reply all
Reply to author
Forward
0 new messages