javascript - Determining why Firebug won't gray/green lines -


i'm tearing hair out here due firebug's seeming propensity refuse hit breakpoints in critical sections really, helpful able step through code see going on. have read elsewhere firebug won't hit breakpoint if line number isn't right color: used green, lately notice seems difference between light gray , dark grey, light-gray lines ones firebug won't break on.

i looking suggestions how firebug recognize should able break on line. refuse honor breakpoints on ten or twenty lines in row, if got confused parsing function , gave until function over. in cases, commenting out 1 line (and reloading of course) makes firebug recognize rest of function, without rhyme or reason can see, point adding innocuous semi-colon makes go not recognizing lines again. in cases seems do/while loops confuse it, in function without such loop having trouble.

i have tried other things find in other threads, such resetting all, restarting browser, using latest version, etc.

update: in 1 case able firebug recognize lines changing:

do {     ... } while (condition) 

to

while (1) {     ...     if (!(condition)) break } 

firefox 23 / firebug 1.11.4

update: seems whenever find section of code this, can problem go away creating new empty javascript file (adding reference in html file) , moving affected function file. lines greened (it's green again now, no idea why...)


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -