The Design of Software (CLOSED)

A public forum for discussing the design of software, from the user interface to the code architecture. Now closed.

The "Design of Software" discussion group has been merged with the main Joel on Software discussion group.

The archives will remain online indefinitely.

debugging javascript in internet explorer

so my code works sweet in firefox, but is getting this weird issue in internet explorer 7

is there an easy way to debug it, like firebug for ie ??

if i programmatically add elements to my page using javascript, is there anyway i can dump the entire html page including the elements that were added, so i can verify that my code is working ok ?

thanks in advance

Thursday, August 28, 2008
I haven't tried this yet, but Firebug Lite is made specifically to run on other browsers, like IE.
D. Lambert Send private email
Friday, August 29, 2008
Ionut Gabriel Stan Send private email
Friday, August 29, 2008
What you really want is Microsoft Script Editor (not Debugger). You can't download it, but it comes with MS Office. Getting it set up initially can be tricky, but you can find some articles on Google.

Once it's working, you can step through JavaScript just like in Firebug.
Friday, August 29, 2008
VS2008 - even the free Web Developer Express version.

It's very easy if you're debugging in conjunction with an .aspx page.  If not, it'll still work but it can be a pain to get the correct script context - if you're able to throw in a "debugger;" statement, then it's easy again, but if you're debugging an arbitrary page on the Internet it can be tricky.

The key is to use the IE menu "View/Script Debugger/Open" which should open the script in the VS debugger.

The VS menu "Debug/Windows/script Explorer" is supposed to do the same, but it doesn't always seem to show up.

My limited experience with Microsoft Script Debugger was rather poor.
Friday, August 29, 2008
IE8 has tool inbuilt. I liked IE8 Beta 2. It is great for developers, you can even make it to run in earlier IE modes for testing your code :)
Dev S Send private email
Saturday, August 30, 2008

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
Powered by FogBugz