OK, that worked. Changes in how I do line endings makes major
differences in how lines get green coded in firebug....

On Jun 23, 11:51 am, Steven Roussey <[email protected]> wrote:
> I'll do that. I was thinking of making a file with 70000 empty lines,
> then a function with a debugger call, and see if that is sufficient
> for a test. Might be good to see where firebug overlays the green line
> numbers too.
>
> As to why such a long file... for debug purposes I concat a bunch of
> files, including all of ExtJS, with full comments in the code. It is
> the comments really, that act as the full docs that make everything so
> long. I'm not talking production at all. That goes through YUI
> compressor and has zero line breaks -- which, by the way, means that
> you can't see what an error is in firebug when breaking on errors
> because the red text overlays on top of the code. But that is another
> issue. You can always continue, since afterwards it will be in the
> console (just not there when breaking). One thing at a time though...
>
> On Jun 22, 8:38 pm, johnjbarton <[email protected]> wrote:
>
> > If someone has a test case I will take this to the Firefox team.
>
> > jjb
>
> > On Jun 22, 7: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.
>
> > > Moral of the story, when developing, be sure to break up all your JS
> > > files.
>
> > > Win7 x64
> > > Fx 3.0.11 & Fx 3.5RC
> > > Fbug 1.5X5 (plus many many earlier)
--~--~---------~--~----~------------~-------~--~----~
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