I vaguely recall something like this. Honza may remember. We get the source by using the FF cache and the mechanism does read buffers at time. Any chance you have a funky character in that area?
You can install the FBTrace extension, http://getfirebug.com/releases/fbtrace/1.8/ and set ERRORS and CACHE to see if any thing jumps out. http://getfirebug.com/wiki/index.php/FBTrace jjb On Apr 7, 12:26 pm, Dave Harper <[email protected]> wrote: > I have used Firebug a good bit under previous versions of Firefox but > today is the first time I've tried to use it since upgrading to > Firefox 4.0 / Firebug 1.7.0. I am loading a rather large JavaScript > file (~400KB) that is still under development. It seems to load fine > and operate correctly under Firefox 4.0, but when I went to single > step through part of the code using Firebug I ran into problems. I > finally tracked down the fact that sections of the JavaScript seem to > be missing from the display in Firebug. For example, the first > missing section of code should look like: > > / > ****************************************************************************/ > /* Process a button press on either the State Up or Down > button. */ > / > ****************************************************************************/ > case 0: > case 1: > var msg = "op|mds6uiZone|" + zoneDisplayNumber + "| > zoneDisplayState"; > msg += "|" + zoneDisplayButton; > sendStandardRequest(msg, dummyCallback); > break; > > / > ****************************************************************************/ > /* Process a button press on the Source Down button. This will > decrement */ > /* the value of the sourceGroup variable array for this zone. There > are 6 */ > /* inputs so the range is from 0 to 5. Decrementing from 0 rolls > under */ > /* back to 5. If the new value is for a source that is not enabled, > then */ > /* the function keeps decrementing until an enabled one is > found. */ > / > ****************************************************************************/ > case 2: // cycle down through > source inputs > var newVal = sourceGroup[zoneDisplayNumber]; // determine > starting value > for (var i = 0; i < 6; i++) { // look for the next > enabled source > newVal--; > if (newVal < 0) > newVal = 5; > if (sourceDisplayEnable[newVal] == 1) > break; > } > var msg = "op|mds6uiZone|" + zoneDisplayNumber + "|sourceGroup|" + > newVal; > sendStandardRequest(msg, dummyCallback); > break; > > However, when I display this section of code in the Firebug script > display window it looks like: > > / > ****************************************************************************/ > /* Process a button press on either the State Up or Down button. */ > ar i = 0; i < 6; i++) { // look for the next enabled source > newVal--; > if (newVal < 0) > newVal = 5; > if (sourceDisplayEnable[newVal] == 1) > break; > } > var msg = "op|mds6uiZone|" + zoneDisplayNumber + "|sourceGroup|" + > newVal; > sendStandardRequest(msg, dummyCallback); > break; > > It appears that just over 17 lines are missing. In all, of 7989 lines > that should be displayed, only 7826 are shown in the Firebug display. > > I downloaded the JavaScript file and compared it to the last checked > in version and it matches. Further, I downloaded and installed JSView > 2.0.5 and it displays the JavaScript correctly. > > This is such an obvious problem that I'm sure if it were a problem in > Firebug it would have been noticed before. I'm assuming it is some > configuration issue that I didn't set up correctly under Firefox 4.0 > but I'm at a loss to think of what. > > Anybody have any ideas? > > Thanks, > Dave -- 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.
