I've been seeing this for a while also. Syntax errors are not reported
by firebug, but I see them in the firefox error console.

On Jan 27, 9:35 pm, Nicolas Hatier <[email protected]> wrote:
> As soon as I add your example to my code and refresh the page, my
> instance of Firebug reports me an error:
>
> syntax error
> if (var ref = document.getElementById(some_id))   file.js (line 123)
>
> Check if Show Javascript Errors is checked in the Console mini-menu (the
> arrow on the Console tab). Try to reset Firebug options. Or try in a new
> profile, maybe there's something broken in yours.
>
> NH
>
> On 2011-01-27 18:35, booksort wrote:
>
>
>
>
>
>
>
> > I was debugging some code which contained in an included file
>
> > if (var ref = document.getElementById(some_id)) ...
>
> > (Single '=' is intended. I must never have tried this use of var in JS
> > before but apparently it is illegal syntax).
>
> > The include failed but Firebug did not report anything until something
> > tried to reference the constructor in the file and simply said it was
> > not a constructor.
> > Error Console did not report anything either.
>
> > I'm sad to say it was IE Developer Tools that pointed me to the syntax
> > error!

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