Hacker News new | ask | show | jobs
by ethermal 5149 days ago
IE9's debug tools are hands down the best at this point in time. Although Chrome's is cacthing up, pound for pound you will be far more productive in IE9s debug tools then firebug, dragon fly or any other at the moment. I think there is just too much bias at play here.
2 comments

I have downvoted you because that statement is so absolutely wrong.

I know because I am debugging a stupid, stupid IE only issue and I have to use a combination of Chromes debugger and judicious use of the console/repl in IE.

You can't even inspect an element that was added in code in IE.

wha? Hit the tiny html refresh button ctrl-b select away.
I sincerely hope this is a joke.

If it isn't, can you demonstrate where IE9 is objectively better than Chrome or Firebug? Because I can do the opposite. As a quick example, IE9 won't let you inspect elements inside of an iframe dynamically generated with JavaScript.

I've got a simpler one: you can't inspect an element on the console, it's going to print the first 10 properties (as a string, so you can't actually see their value when they're an object or an array) then it tells you to add the object to your watch (in a sub-tab of a different tab) to explore the rest.

In fact the console in general is still garbage, they improved support for the console API but still only handles barely half of it (no group/groupEnd, no time/timeEnd, no count, no trace, ...); the console does not understand (and is useless for) DOM objects (let alone jQuery objects); console API calls refuse to link to their source line; ...

Then there's the DOM inspector which will fail to display JS-generated DOM[0] and provides no way to edit the DOM live (beyond attributes, woot, attributes) (let alone put inspectors/breakpoints on DOM changes) and provides no way to see what events are bound on a node, or the network log which is a mess of useless tabs and the last network log to not know about JSON, or the javascript source/debugger which provides no way to jump to a given line (let alone a given function) and takes pain to split all useful information across 5 different tabs to ensure it's never possible to eyeball the situation you're in.

And that's 5mn into opening the thing. God, I can hardly believe somebody would state IE9's debug tools are good, they're not even remotely a match for Dragonfly, let alone Firebug or the WDT/CDT.

[0] super awesome when combined with applications which generate all of their DOM via code.

IE9 can easily handle your quick example. Check out http://jsfiddle.net/c8rN3/ then hit f12 bring up the developer tools. In the HTML tab click the tiny refresh button then hit the select element by click and select an element within the iframe.
> IE9 won't let you inspect elements inside of an iframe dynamically generated with JavaScript.

What the hell are you doing with iframes? Sounds like a hack job.

I'm adding an iframe to the page dynamically using JavaScript?
Irrelevant and besides the point.