Debugging JavaScript in Internet Explorer and Safari

Question :

Debugging JavaScript in Internet Explorer and Safari,

Answer :

Currently, I don’t really have a good method of debugging JavaScript in Internet Explorer and . In Firefox, you can use and  However, this doesn’t help me when I move to other browsers.

,

For Safari you need to enable the “Develop” menu via Preferences (in Safari 3.1; see   or via

$ defaults write com.apple.Safari IncludeDebugMenu 1  

at the terminal in Mac OS X. Then from the Develop menu choose Show Web Inspector and click on the Console link. Your script can write to the console using window.console.log.

Read More  Lingering assembly dependency in C# .NET

For Internet Explorer, Visual Studio is really the best script debugger but the Microsoft Script Debugger is okay if you don’t have Visual Studio. walks you through installing it and connecting to Internet Explorer.

Internet Explorer 8  like it will have a very fancy script debugger, so if you’re feeling really adventurous you could install the Internet Explorer 8 beta and give that a whirl.

That’s the answer Debugging JavaScript in Internet Explorer and Safari, Hope this helps those looking for an answer. Then we suggest to do a search for the next question and find the answer only on our site.

Read More  Select all columns except one in MySQL?

Disclaimer :

The answers provided above are only to be used to guide the learning process. The questions above are open-ended questions, meaning that many answers are not fixed as above. I hope this article can be useful, Thank you