PDA

View Full Version : Buggy in the new Firebug



Stephan123
25 Feb 2010, 8:24 AM
Hello !

I have updatet for 2 hours the firebug of the FF.

Now when i type a little skript


Ext.onReady(function(){

var fenster = new Ext.Window({
title: 'Fenster',
width: 400,
height: 400
});

fenster.show();

console.dir(fenster);



});

I can't see the console.dir() in the firebug.
Is that an error ?

Your sincerly

Stephan

rbastic
25 Feb 2010, 8:35 AM
....

console.dir?

What is that supposed to do?

I always use console.log()

Stephan123
26 Feb 2010, 12:06 AM
Hello !

I this example i will use the command console.dir() to see
the function and the variables of the window object.

In the version befor firebug 1.5.2 it works fine.
See http://getfirebug.com/wiki/index.php/Console_API

In the version 1.5.2 i can't see an result in the firebug. :(

Your sincerly

Stephan

Stephan123
26 Feb 2010, 8:05 AM
Hello !

Here is an example why console.dir is a problem for me.

In my classes are debug methods.


try{
// Store neuladen
Ext.getCmp('tabelle').store.load();
}
catch(e){
App.user.debug(e);
}

....

debug: function(e){
if(window.console && Ext.isGecko){
console.warn('Ein Fehler ist aufgetreten !');
console.dir(e);
console.trace();
}
} // Ende Debug

Now my help function is buggy.
I go in the weekend !


Your sincerly

Stephan

Animal
26 Feb 2010, 8:08 AM
Yep. Firebug is buggy. I keep having to switch between FF, Chrome and Opera to track down bugs.