Duplicated JavaScript contents

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

Duplicated JavaScript contents

by Mark T-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I was trying to find a site that had the same issue that I'm having on
my site. The site I'm working on cannot be viewed unless you have been
granted access, so I can't give you a link to go to.

The problem I'm seeing is with FF3.5.4 and Firebug 1.4.3. When I set a
breakpoint by typing debugger; in my JS file. When stepping through, I
have no idea what line I'm really on. This is because the file's
contents are displayed three times in the display. For example, I have
a 52 line JS file. On line 52, you can see it is concatenated to
itself and that instance ends on line 103 (the first line of the
second instance is on the 52nd line of the first instance). The total
number of displayed lines is 154: 52 + 51 + 51. I haven't determined
the pattern that is followed when it determines what line to pop the
debugger on.

What I'd like to figure out is: why I'm getting this file displayed
three times in Firebug? When I type in the file's URL, it displays
fine in the browser.

--

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: Duplicated JavaScript contents

by John J Barton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



On Oct 30, 2:15 pm, MasterT <mxtra...@...> wrote:

> I was trying to find a site that had the same issue that I'm having on
> my site. The site I'm working on cannot be viewed unless you have been
> granted access, so I can't give you a link to go to.
>
> The problem I'm seeing is with FF3.5.4 and Firebug 1.4.3. When I set a
> breakpoint by typing debugger; in my JS file. When stepping through, I
> have no idea what line I'm really on. This is because the file's
> contents are displayed three times in the display. For example, I have
> a 52 line JS file. On line 52, you can see it is concatenated to
> itself and that instance ends on line 103 (the first line of the
> second instance is on the 52nd line of the first instance). The total
> number of displayed lines is 154: 52 + 51 + 51. I haven't determined
> the pattern that is followed when it determines what line to pop the
> debugger on.

Does it only happen on your site or also on others?
Does it happen on any of the five tests in:
http://getfirebug.com/tests/content/script/debuggerKeyword/testPage.html


>
> What I'd like to figure out is: why I'm getting this file displayed
> three times in Firebug? When I type in the file's URL, it displays
> fine in the browser.

--

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.