Debugging with Internet Explorer

I have some code that I thought I wrote to play in IE. But, apparently, this is not happening. I am using IE8 for testing and am very disappointed with the built-in "debug" tool. I found firebug has a javascript tool that debugs for IE, but I have to click it for every page, wait for it to load and then check my script. Is there a way to get IE to ALWAYS load the firebug .js file? I tried to find a way to set up a custom header file for my IE installation, but with no success.

Is there another tool that is better / easier to use? Another way to test scripts for IE compatibility?

+2


source to share


3 answers


IE7 and 8 provided the IE Developer Toolbar . It's like firebug for DOM validation, script debugging, and style tracing.

Edit:



For IE 8, the toolbar is already packaged in the browser:

The developer toolbar is not compatible with Internet Explorer 8. Use the developer tools included with Internet Explorer 8. Press F12 or click the Developer Tools button on the Tools menu to start using the tool. Click here for more information on IE8 Developer Tools.

+3


source


You can also use Visual Studio and attach to the process in question and then just debug in VS. Pretty good debugging tools and also allows you to debug IE6.



+1


source


Try log4javascript , which is a logging library that works in every major browser, including IE 5 and later.

0


source







All Articles