Solved

What is the best Debugger for debugging Javascript code

Posted on 2006-06-11
5
367 Views
Last Modified: 2010-05-18
Happy gold cup weekend everyone !.

Really hope someone can help me with this.


1) I'm developing a web "application" using PHP , HTML and Javascript.

2) Most of the code is written with .php pages

3) Some javascript is written directly in the .php page but most of the complex js  is included by included external .js pages on the .php page using statements  -like echo('<script type="text/javascript" src="'.$Path.$FileName.'.js"></script> '); - to include javascript pages  

4) I have been using Microsoft script debugger 1.0.7 which seems to identify js errors in the js that is written directly into the .php page. HOWEVER whenever the source of the js error is on one of the included js pages the debugger seems to highlight lines of code that have nothing to do with the error.

Can someone please :
1) Most importantly point me to the best Javascript debugger available ?!
2) Or alternatively tell me how to deal with the issue I'm encountering using Microsoft script debugger?

Thanks in advance all for your usual helpfulness.

Regards,

winbiz

And perhaps tell me if they
0
Comment
Question by:winbiz
  • 2
5 Comments
 
LVL 23

Accepted Solution

by:
basicinstinct earned 251 total points
ID: 16882076
I use FireFox with the FireBug debugger installed (it's a free firefox extension you can download).  I've read that it's better than Microsoft Script Debugger, but I've never tried MSD so I wouldn't know.
0
 

Author Comment

by:winbiz
ID: 16882149
Thanks basic instinct.

Unfortunately I was commited to develop in IE b/c my end users invariably all use IE and there are still subtle difference between the two such that my code does not as yet work entirely properly in firefox.

Could someone suggest an IE alternative.

Thanks

wb
0
 
LVL 1

Assisted Solution

by:cali_oo7
cali_oo7 earned 249 total points
ID: 16897932
There is a free trial of a program called ScrypTik that is a standalone software application for validating javascript code. You can find it at http://www.scryptik.com/.
Hope that helps.
-Dale
0
 

Author Comment

by:winbiz
ID: 16905906
Hi Cali 007,

Thanks for the link but Sriptik doesn't really seem to have the debugger characteristics I need - it's more of a script editor, but doesn't isolate the eroneous lines  when an error is encountered while running the appication.

I HAVE HOWEVER FOUND A VERY NEW PROGRAM  (2006) CALLED : SplineTech JavaScript HTML Debugger PRO

Does is a ture javascript debugger and I am very happy with the results. I would recommend it highly. It can be found at :

http://www.remotedebugger.com/javascript_debugger/javascript_debugger.asp

I look forward to any comments anyone may have for the next few days then I'll distribute points and close the question


Regards and thanks again for you input.

wb
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
The viewer will learn how to count occurrences of each item in an array.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

863 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now