Hi
Not sure if this is in the bug list already; I couldn't find it. I've
been seeing this since the 1.4 alphas, I think.
Some of my scripts don't appear in the script dropdown if I have
firebug enabled while I load the page. If I have it _disabled_ while
loading then enable it, all the scripts appear in the dropdown but
debugging doesn't work until I refresh - at which point the files I
want to debug disappear from the dropdown (and any breakpoints I set
in those files don't work).
I can change the value of the "static/static and eval..." dropdown and
it makes no difference.
I found that if I reference scripts, then have an inline script that
opens and writes to a popup window, then reference some more, the
second set of scripts aren't available for firebug.
<html><head>
<script type="text/javascript" src="test1.js"></script>
<script type="text/javascript">
var alertWindow = window.open("", "alertWindow", "width=50");
if (alertWindow) alertWindow.document.write("hello");
if (alertWindow) alertWindow.document.close();
</script>
<script type="text/javascript" src="test2.js"></script>
</head>
<body>
wibble
</body>
</html>
test1.js and test2.js can contain any javascript.
If the window's already open (ie leave the window open and refresh
this page) then the bug isn't seen; ditto if you don't _write_
anything to the window - it seems to be the combination of opening the
window and writing to its document. Perhaps some interaction with
FF's builtin popup blocker? Certainly if you make it not a popup (get
rid of the "width" attribute) the problem goes.
Cheers
Geoff
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---