Just a note:
Calling loadFirebugConsole(); in the onLoad() ( or $(function(){});
for jQuery users ) does work as a temporary workaround. I was trying
to call loadFirebugConsole() from the console and not having any luck.
Seems obvious now, but thought it might help someone...
On Aug 25, 7:48 pm, "Mavrick Master" <[EMAIL PROTECTED]> wrote:
> Thanks John. Will give it a go.
>
> On Tue, Aug 26, 2008 at 12:32 PM, John J Barton <[EMAIL PROTECTED]
>
> > wrote:
>
> > In FF2 you have to do this:
> > window.loadFirebugConsole();
> > console.log(...).
>
> > On Aug 25, 7:12 pm, mavrick <[EMAIL PROTECTED]> wrote:
> > > I downloaded the latest version of firebug only for console.log to not
> > > work anymore. console.log is not defined, even console was not defined
> > > and I am not using google maps anywhere. I had to download 1.05 again
> > > so I can get console to work on FF2.
>
> > > On Aug 7, 11:21 pm, Dan Conner <[EMAIL PROTECTED]> wrote:
>
> > > > It's a valid question, I should probably report it there too, or
> > > > instead.
>
> > > > #1, because I read your previous comment as asking for a bug report.
> > > > #2, theconsole.log call works fine when using Firefox 2 and Firebug
> > > > 1.05 (and also still works in Safari 3). Ifconsolewas undefined
> > > > after setCenter in all Firebug versions, and all browser versions, I
> > > > would be more confident it was directly a Google Maps API bug. With
> > > > the differences, I'm not so sure.
>
> > > > On Aug 6, 4:17 pm, John J Barton <[EMAIL PROTECTED]> wrote:
>
> > > > > Why did you report that to Firebug rather than Google? I mean Firebug
> > > > > is powerful and all that, but we can't fix bugs in other people's
> > > > > code ;-)
>
> > > > > On Aug 6, 1:37 pm, Dan Conner <[EMAIL PROTECTED]> wrote:
>
> > > > > >http://code.google.com/p/fbug/issues/detail?id=1050
>
> > > > > > On Jun 20, 10:30 am, John J Barton <[EMAIL PROTECTED]>
> > > > > > wrote:
>
> > > > > > > I still don't have a bug report with a test case for this problem
>
> > > > > > > On Jun 20, 3:23 am, Klaus Hartl <[EMAIL PROTECTED]>
> > wrote:
>
> > > > > > > > I can confirm this bug. As long as you once callconsole.log
> > before
> > > > > > > > map.setCenterit'll work fine later on, otherwise not.
>
> > > > > > > > --Klaus
>
> > > > > > > > On Jun 19, 9:56 pm, PureForm <[EMAIL PROTECTED]>
> > wrote:
>
> > > > > > > > > I'm having issues with theconsoleas well [the 'consoleis
> > undefined'
> > > > > > > > > error] ... as odd as it might seem, theconsoleseems to be
> > wiped out
> > > > > > > > > of the DOM when I call GMap2.setCenter() [from the Google
> > Maps API].
>
> > > > > > > > > If I callconsole.log("sss"); before executing any other JS
> > [including
> > > > > > > > > GMap2.setCenter()], theconsolewill work as expected.
>
> > > > > > > > > I have no idea what the problem could be here, but I know it
> > worked
> > > > > > > > > without any problems in FF2 a couple days ago running the
> > same JS.
>
> > > > > > > > > There is also an error msg from chrome which might or might
> > not be
> > > > > > > > > related:
> > > > > > > > > <code>onEventScriptCreated failed: [Exception... "Component
> > returned
> > > > > > > > > failure code: 0x80004005 (NS_ERROR_FAILURE)
> > > > > > > > > [jsdIScript.isLineExecutable]" nsresult: "0x80004005
> > > > > > > > > (NS_ERROR_FAILURE)" location: "JS frame ::
> > chrome://firebug/content/lib.js
> > > > > > > > > :: anonymous :: line 2890" data: no]</code>
>
> > > > > > > > > Also, theconsolewithin the Firebug interface only seems to
> > print
> > > > > > > > > what I throw at it, and not evaluate it. So if I type in 1+1,
> > it will
> > > > > > > > > return "1+1" instead of 2.
>
> > > > > > > > > BTW, thanks for your time spent creating this tool ... you
> > and your
> > > > > > > > > team have done something really great :-)
>
> > > > > > > > > OS: XP Pro, SP3
>
> > > > > > > > > On Jun 19, 12:00 pm, sir_brizz <[EMAIL PROTECTED]> wrote:
>
> > > > > > > > > > I'll keep an eye on it and report if I see it again.
>
> > > > > > > > > > Brizz
>
> > > > > > > > > > On Jun 19, 12:04 pm, John J Barton <
> > [EMAIL PROTECTED]>
> > > > > > > > > > wrote:
>
> > > > > > > > > > > Or another explanation could be that FF is reporting but
> > my filter
> > > > > > > > > > > drops it incorrectly. Any error reported to Firefox
> > ErrorConsole
> > > > > > > > > > > should appear in the firebugconsole(duplicates are
> > removed however).
> > > > > > > > > > > A test case to the bug list would be great.
>
> > > > > > > > > > > On Jun 19, 10:58 am, sir_brizz <[EMAIL PROTECTED]>
> > wrote:
>
> > > > > > > > > > > > I have this happen to me pretty often as well. I'm
> > assuming it's
> > > > > > > > > > > > because Firefox is not actually reporting an error
> > occurred.
>
> > > > > > > > > > > > Brizz
>
> > > > > > > > > > > > On Jun 19, 10:12 am, John J Barton <
> > [EMAIL PROTECTED]>
> > > > > > > > > > > > wrote:
>
> > > > > > > > > > > > > Are you using an en-US version for firebug? I think
> > all of the
> > > > > > > > > > > > > localized versions are suspect for 1.2b3.
>
> > > > > > > > > > > > > Have you looked at Firebug->Console->Options?
>
> > > > > > > > > > > > > On Jun 19, 8:13 am, Tamoriel <[EMAIL PROTECTED]>
> > wrote:
>
> > > > > > > > > > > > > > Aye. I stepped back a version when the latest one
> > (w/FF3) didn't
> > > > > > > > > > > > > > display any javascript errors in theconsole. The
> > previous release had
> > > > > > > > > > > > > > some chrome errors in the FF3 release candidates,
> > but seemed to work
> > > > > > > > > > > > > > after that. Now with the current version and the
> > live release of FF3,
> > > > > > > > > > > > > > I get jack.
>
> > > > > > > > > > > > > > For example, if I throw into my code alert(abc);,
> > and the variable abc
> > > > > > > > > > > > > > is not defined, FF doesn't execute any code below
> > that, and yet I
> > > > > > > > > > > > > > don't see anything in theconsole. Theconsoleis
> > enabled. If I enter
> > > > > > > > > > > > > > the same call (alert(abc);) into
> > theconsoledirectly, then it
> > > > > > > > > > > > > > complains like it should: ReferenceError: abc is
> > not defined.
>
> > > > > > > > > > > > > > The fact that it doesn't tell me about any
> > errors... well... kinda
> > > > > > > > > > > > > > defeats the purpose, no?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---