views:

79

answers:

3

Hi Folks,

I'm really interested which way you guys use to effectivly debug a large (let's say 1000 lines and more) javascript in IE7/8/9.

I'm so sick of reading a message like 'error in line 9328789237498" or "line 1" which totally makes no sense. No error description.

There must be something like Firebug? please? :)

Kind Regards

--Andy

+4  A: 

IE 8 comes with Developer Tools, which is similar (but not quite as powerful) as firebug.

See: Discovering Internet Explorer Developer Tools

Justin Ethier
I know about the dev toolbar, but does it change this wierd behavior from IE script error console? Does it really show you where javascript error occurs?
jAndy
Yes, I have used it myself to track down errors that were only occurring in IE.
Justin Ethier
+4  A: 

Checkout the Internet Explorer Developer Toolbar (more information at Internet Explorer Developer Tools). If you want Firebug, you can try out the (not as powerful) Firebug Lite.

Vivin Paliath
+1 for Firebug Lite.
Boldewyn
same question goes to you.
jAndy
Yes, I've used it to track errors in IE. It's not as powerful as Firebug, but on IE even a little bit helps!
Vivin Paliath
A: 

You can use Visual Studio to debug Javascript as well. Tools -> Internet Options -> Advanced -> Uncheck the boxes for disabling script debugging. Then run with Visual Studio attached to the IExplore process.

jeffamaphone