Unresponsive script, how to debug?

2,381 views
Skip to first unread message

Andrew Arfman

unread,
May 23, 2010, 7:09:17 AM5/23/10
to Firebug
Hi!

I have an awkward problem with Firefox and JavaScript. My app uses
jquery and some
plugins (datatables and timeentry). The app downloads data from my
server using $.AJAX
and puts this data in DataTables.

The problem is that every now and then the app becomes unresponsive.
If I hit reload
several times (like 1-20 times, sometimes more) and wait the app to
reload, at some point
the reload stops and after a while I get the 'Unresponsive script'
dialog:
---
Warning: Unresponsive script

A script on this page may be busy, or it may have stopped responding.
You can stop the script now, open the script in the debugger, or let
the script continue.

Debug script Continue Stop script
---

Unfortunately, 'Debug script' button doesn't do anything useful;
Firefox continues to be
unresponsive. Is there a way to actually get to the debugger in this
situation?

Any other ideas about debugging this situation?


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

John J Barton

unread,
May 23, 2010, 11:37:21 AM5/23/10
to Firebug
1.1) Install Firebug 1.5X.4 from http://getfirebug.com/releases/firebug
1.2) Open Firebug Icon Menu > Open Tracing
1.3) Tracing panel Options ERRORS and UI_LOOP
1.4) Reproduce your problem and read the Logs panel

2.1) Install Firebug 1.6Xa11 (http://getfirebug.com/releases/firebug/
1.6X) and Chromebug 1.6X.0a11 (http://getfirebug.com/releases/
chromebug/).
2.2) Run firebug from the command line with "-chromebug".
2.3) Reproduce your problem. You may be more lucky when you hit
Debugger button
Reply all
Reply to author
Forward
0 new messages