On Mon, Jun 22, 2009 at 10:33 PM, Steven Roussey <[email protected]> wrote:

>
> I'm always getting annoyed with the stack trace of javascript error
> showing me random lines (and highlighting them, even if they are
> comments). So I used IE8 to get the real stack trace. The line in
> question was 67758. In Firebug it said 2222. Guess what 67758 - 2222
> is? 65536 (2^16). So there is an overflow error, likely in Firefox.
>
> From the look of things, firebug is applying the green "these are
> breakpoint-able lines of code" for lines 65536+ back onto the file
> again, though where/when I have yet to identify.
>

Mostly out of morbid curiosity, what are you writing that you would end up
with javascript files 64k+ *lines*?


> Moral of the story, when developing, be sure to break up all your JS
> files.
>

I'm obviously not doing whatever it is you are, but it would seem that there
would be a logical break somewhere in all that JS which would make sense to
split into more than one file - probably several?

-rj

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to