I’ve found myself basically living in Firebug lately, and getting used to using console.log and console.dir a whole bunch. Problem is that I\’m not running firebug lite so I don’t have any IE equivalent. Tossing this script in real quick has helped out a lot.
Ext.onReady(function(){
try {
console.log(’bleh’);
} catch (e) {
console = { log: Ext.log };
}
});
As long as you’re using ext-all-debug, you have access to Ext.log and this gives you a decent IE alternative.





Have you tried CompanionJS? (http://www.my-debugbar.com/wiki/CompanionJS/HomePage) I’ve been using it for awhile now to catch those Firebug-only console calls (when it works!).
mdmadph
March 5th, 2008
I have not, looks promising though, I will definitely check it out.
Rich Waters
March 5th, 2008
After testing CompanionJS briefly I wasn’t very impressed. Performance wasn’t great and it couldn’t handle with anything beyond a string or number being sent to console.log. Hopefully between the official offering built-in with IE8 and the different plugin options, we’ll have something useful soon.
Rich Waters
March 8th, 2008
Aye — to tell you the truth, I stopped using it as well. I never tried logging anything more than strings or numbers to the the console in CompanionJS, but my problems was with it suddenly just _not working_ from time to time, without any reason being given at all.
mdmadph
March 19th, 2008