Archive for the 'Firebug' Category

Which version of Firebug to use with Jetpack

Saturday, January 30th, 2010

One of the nice features of developing in Jetpack is the console.log feature. Assuming you have Firebug installed, not only does it allow you to dump messages to the Firebug console, you can dump objects. Once logged to the console, you get the Firebug object introspection which is a gift for debugging exactly what is going on in your code.

However, currently there is an issue with compatibility between various versions of Firebug and Jetpack. I am using Jetpack 0.7 but if I use any version of Firebug after 1.4.0, console.log does not work as desired. It works fine in the about:jetpack tab but if you switch to another tab to do some ‘real’ debugging, console.log stops doing anything. Even if you switch back to the about:jetpack tab, you need to reload the tab before console.log starts working again.

I spent some time this evening going through the various iterations of Firebug and debugging worked fine up and till 1.4.0. I have tried most version after that and had no luck. So, for now, if you are debugging Jetpack, I recommend that you debug profile has Firebug 1.4.0.