?
Solved

How to debug javascript in ie and in firefox?

Posted on 2008-10-03
5
Medium Priority
?
1,097 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 16

Accepted Solution

by:
brad2575 earned 672 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 664 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 664 total points
ID: 22675722
Excellent tutorial for using fire bug..

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

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
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 to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.

762 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