Thanks John. I realised this in the end and calling
Firebug.Console.log()
works to inject messages, but I'll your suggestion too.

On Apr 2, 4:41 pm, John J Barton <[email protected]> wrote:
> On Apr 2, 8:10 am, Nick <[email protected]> wrote:
>
> > No doubt this is user error, but I'm stumped and would appreciate any
> > pointers. I installed 1.6.2, enabled the console globally, it's opened
> > etc., but console appears not to be a global variable when trying to
> > use it from event handlers in a firefox extension that I'm working on.
> > Using it from the FB CLI works fine as expected. Pointers welcome!
>
> I'm guessing that you mean:
>    I expected that installing Firebug 1.6.2 would allow window.console
> to work in extension code.
>
> Sorry, no. Firebug injects the console only in Web pages (browser
> tabs).  You can try 
> Chromebug.http://getfirebug.com/wiki/index.php/Chromebug_User_Guide
>
> jjb

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