Script Debugging in IE
I'm really interested which way you guys use to effectivly debug a large (let's开发者_Python百科 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
IE 8 comes with Developer Tools, which is similar (but not quite as powerful) as firebug.
See: Discovering Internet Explorer Developer Tools
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.
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.
精彩评论