I tried removing my extension, setting always open trace console to
true, setting ERRORS and it worked. Then when I installed my
extension Firebug is dead again.
If I turn off these 2 lines:
pref("extensions.firebug.DBG_MYLOGNAME", false);
var FBTrace = Components.classes["@joehewitt.com/firebug-trace-
service;1"]
.getService(Components.interfaces.nsISupports)
.wrappedJSObject.getTracer("extensions.firebug");
My Firebug works again.
FYI: The above 2 lines come right after the standard extension
opening:
FBL.ns(function() {
with (FBL) {
Thanks,
Rob
On Feb 11, 10:24 pm, John J Barton <[email protected]>
wrote:
> The command line error is not related to firebug (does not help or
> hurt).
>
> Use about:config to set
> extensions.firebug.alwaysOpenTraceConsole
> true, then restart Firefox.
>
> In the trace window, options, set ERRORS. then return to Log panel and
> try to open Firebug.
>
> jjb
>
> On Feb 11, 9:15 pm, Rob Hudson <[email protected]> wrote:
>
> > Thanks for the pointer.
>
> > I installed one of the X releases and followed the tutorial (except I
> > used Firebug's preference domain) and now when I restart Firefox, the
> > Firebug icon in the status bar is grey and I cannot open Firebug.
>
> > I must be doing something wrong.
>
> > If I view the error console in Firefox, I see this:
>
> > Error: Warning: unrecognized command line flag -foreground
>
> > Source File:
> > file:///Applications/Firefox.app/Contents/MacOS/components/nsBrowserContent
> > Handler.js
> > Line: 713
>
> > Any ideas?
>
> > Thanks,
> > Rob
>
> > On Feb 11, 4:42 am, Jan Odvarko <[email protected]> wrote:
>
> > > Not sure if I understand the question correctly, but if you want to
> > > log debug information from your Firebug extension, you should use
> > > "Firebug Tracing Console" (FBTrace). Just install version with tracing
> > > enabled from here:http://getfirebug.com/releases/firebug/1.4X/
>
> > > and see more info
> > > here:http://www.softwareishard.com/blog/firebug/tracing-console-for-firebug/
>
> > > Honza
>
> > > On 11 Ún, 06:15, Rob Hudson <[email protected]> wrote:
>
> > > > Hi,
>
> > > > I'm overriding an onLoad method which gets passed context and file.
> > > > If I'm not very familiar with what these are, how can I introspect
> > > > them? Is Firebug's console logging available from within another
> > > > panel or model?
>
> > > > Thanks,
> > > > Rob
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---