Discussion:
newbie question: How to debug javascript
ccrookston
2010-04-30 16:55:57 UTC
Permalink
Just installed firebug. I've been stuck on a javascript issue for way
too long, and a friend recommended this handy tool to me. Looks
pretty cool. Here's my issue:

On the HTML tag, I can see all the javascript. But, when I go to the
Script tag, I'm told, "Failed to load source for: http://...."

Not sure how to work around this. The thing is, I can browse to other
sites and see the script just fine. It just doesn't like this one
page for some reason. Unfortunate, it's only on my dev box right now
so I can't give you a link.

Has anyone ever seen this before?
--
You received this message because you are subscribed to the Google Groups "Firebug" group.
To post to this group, send email to ***@googlegroups.com.
To unsubscribe from this group, send email to firebug+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/firebug?hl=en.
John J Barton
2010-04-30 18:24:09 UTC
Permalink
Just installed firebug.  I've been stuck on a javascript issue for way
too long, and a friend recommended this handy tool to me.  Looks
On the HTML tag, I can see all the javascript.  But, when I go to the
Script tag, I'm told, "Failed to load source for: http://...."
Issue 1910 says it happens on active directory network drive
http://code.google.com/p/fbug/issues/detail?id=1910
The user reports "Move the files to the C: drive or serve via a web
server and the problem goes away."

Other than that, check that your extensions are up to date or install
Firebug in to a new Firefox profile.

jjb
Not sure how to work around this.  The thing is, I can browse to other
sites and see the script just fine.  It just doesn't like this one
page for some reason.  Unfortunate, it's only on my dev box right now
so I can't give you a link.
Has anyone ever seen this before?
--
You received this message because you are subscribed to the Google Groups "Firebug" group.
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 ***@googlegroups.com.
To unsubscribe from this group, send email to firebug+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/firebug?hl=en.
booksort
2010-05-01 19:40:09 UTC
Permalink
I'm not an expert, but...
I've seen this error but usually just ignore it.
Sometimes you have to make sure firebug is already open before you
(re-)load the page.
After changing the javascript, you may need to clear your browser
cache to make sure the new code is used. On Firefox, Ctrl Shift Delete
and tick Cache. Then reload the page.
I find that minor javascript typos may not show up in firebug until a
page has been loaded more than once.
Also make sure break on all errors is turned on: click the two orange
gateposts in the Console panel.
These Firebug chappies are fiendishly clever, but sometimes they do
seem to think us ordinary people are psychic ...;-)
--
You received this message because you are subscribed to the Google Groups "Firebug" group.
To post to this group, send email to ***@googlegroups.com.
To unsubscribe from this group, send email to firebug+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/firebug?hl=en.
booksort
2010-05-01 19:42:44 UTC
Permalink
I'm not an expert, but...
I've seen this error but usually just ignore it.
Sometimes you have to make sure firebug is already open before you
(re-)load the page.
After changing the javascript, you may need to clear your browser
cache to make sure the new code is used. On Firefox, Ctrl Shift Delete
and tick Cache. Then reload the page.
I find that minor javascript typos may not show up in firebug until a
page has been loaded more than once.
Also make sure break on all errors is turned on: click the two orange
gateposts in the Console panel.
These Firebug chappies are fiendishly clever, but sometimes they do
seem to think us ordinary people are psychic ...;-)
--
You received this message because you are subscribed to the Google Groups "Firebug" group.
To post to this group, send email to ***@googlegroups.com.
To unsubscribe from this group, send email to firebug+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/firebug?hl=en.
Loading...