Solved

How to debug javascript in ie and in firefox?

Posted on 2008-10-03
5
1,079 Views
Last Modified: 2013-12-08
hi, i heard that, firebug is used to debug javascript errors in firefox, i have added that add on to my firefox. how to use that? can any one give me the idea? and also tell me how to debug javascript errors in ie6.0 and 7.0. ?


0
Comment
Question by:jyothisree
5 Comments
 
LVL 16

Accepted Solution

by:
brad2575 earned 168 total points
ID: 22635786
Not the easiest to use but in IE if you look at the lower left corner in the status bar if there is an error it gives you a little error there (and you can turn on Javascript debutting in the tools menu, advanced, options) and it will give you an alert whenever there is a JS error.

For Firefox you can go to Tools > Error counsel and it will display all the errors.

if you just want to check values (it is not pretty) but you can always just throw alerts in there with the values and/or text to tell you where the code is.

Or download a 3rd party tool like Firebug (have not used it so not sure on how to set it up).
0
 

Author Comment

by:jyothisree
ID: 22636125
hi thanks...i will try the ones u mentioned.

0
 
LVL 13

Assisted Solution

by:Murali Murugesan
Murali Murugesan earned 166 total points
ID: 22657623
Venkman is a good tool for javascript debugger in firefox.
http://www.mozilla.org/projects/venkman/

For IE you have javascript debugger,

http://www.jonathanboutelle.com/mt/archives/2006/01/howto_debug_jav.html -- see this link on how to use it.

-Murali*
0
 
LVL 2

Assisted Solution

by:phuphax
phuphax earned 166 total points
ID: 22675722
Excellent tutorial for using fire bug..

http://www.digitalmediaminute.com/screencast/firebug-js/
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question