Question

I need to learn either Firebug or IE Developer Tools in a hurry, and I could use some advice about which one is better. I'll be using either one to debug some JavaScript, primarily with repsect to an XHR mystery. Any tips about which one to choose would likely save me lots of time and would be most appreciated.

EDIT: I already use Fiddler and love it.

EDIT: I aim to support all browsers.

Was it helpful?

Solution

I would suggest starting with Firebug because it traditionally has provided the most powerful set of debugging features.

However IE dev tools (and others such as Opera Dragonfly) are rapidly catching up and are probably preferred if your pages are being displayed primarily in those browsers.

So I don't think you can get away with just learning one or the other. Find out which browsers your users prefer and install the developer tools for each browser.

You'll save yourself a lot of time solving obscure browser specific Javascript or DOM bugs using the debugging platform specific to that browser.

OTHER TIPS

I would suggest Firebug first, as, it will help you determine errors more quickly, as I found it more intuitive to use, but, if you are only supporting IE then the IE Developer tools would be your best bet.

Which browsers do you support?

That will determine the best one to start with, but, if you have to, use Firebug for the initial debugging.

Learn both, at least if you are pro web coder. There's not much to learn anyway - it's just a tool.

You'll definitely feel at home with Firebug. I is the easiest and the most powerful of tools that I know of for debugging pages live. I constantly make use of it prior to committing a change to a CSS stylesheet (i.e. margins/paddings, colors and the like). The fact that it also includes a Javascript Debugger and a console is a plus. From what I gather, many that do not use Firefox use Firebug Lite. It's JavaScript powered and a bit slow, though.

IE8 Dev. Tools is useful, but the experience isn't very much alike Firebug, but the concept remains. I recommend also familiarizing yourself with Safari Web Inspector and Opera Dragonfly. They are debugging tools with similar aspects to Firebug.

Unless it's to test/debug and IE quirk with JS, you are better off sticking with Firebug. IE8 DT doesn't even come close to Firebug in performance or usability. Try IE8 DT and debugging JS while you are running a project in VS's debugger. I'll save you the trouble and tell you "YOU CAN'T". Develop with Firefox as your standard and 99% of everything else will work fine.

I think you will have to learn both, because sometimes things that work in FF don't work as expected in IE, or the other way round, so it will be helpful to use the tool that matches the browser.

The development tools in Firefox and IE are same now after the arrival of IE8. Yeah, it do mean that Internet Explorer is still not the choice of developers due to many reasons, however the basic tool of FF famous in developers is Firebug and another is Web Developer Toolbar, well IE Developer Tools cover both of them and if you are familiar with IE Developer Tools or Firebug on FF, you shouldn't have any problem to work on the other browser.

This tutorial is useful: Tutorial: Using IE Developer Tools as Firebug in Mozilla Firefox

As stated already, the answer is to learn both. As goes with cross-browser development, time must be spent to work out the kinks in different browsers. Firebug is by far the superior tool, but if you're troubleshooting a bug in IE, it goes without saying that the IE Dev tool would be the better choice.

Also, since we are still coding for multiple versions of IE. IE 7 compatibility mode is a nice feature to test that you're latest changes that seem to work fine in IE8 are still working/looking like you would expect them to in IE7.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top