![]() |
JavaScript Debugging
Hi, does anyone know if there is software that checks whether JavaScript is correctly written??. I have written a small program but I have tried to debug it by eye/hand and I can't seem to see the fault, is there a wee bit og software out there that can do it??
Cheers |
Re: JavaScript Debugging
There would appear to be a few, search for 'java debugger' in google and take your pick.
|
Re: JavaScript Debugging
Install Mozilla 1.7 and it has a built in Javascript debugger in the Tools>Web Development menu.
|
Re: JavaScript Debugging
Quote:
For Mozilla (and Netscape) browsers, there is Venkman, IE probably has something similar. That's assuming the Javascript is for a web page? |
Re: JavaScript Debugging
Or post it here, and let us have a look... I like a nice bit of javascript.
|
Re: JavaScript Debugging
There is a javascript debugger in the MS Visual Studio suite, but i've never managed to use it sucessfully. Either paste it in here so Mr_Love_Monkey and I can have a look, or if its private, try this tried and tested technique: Put echo statements all in your program, around the major lumps of code. By seeing what gets printed, you can tell what lump of code is freezing the interpreter. Eventually, using this technique you can narrow it down to the lines causing a problem.
When you know roughly where abouts the code is freezing, you can put two front slashes (//) at the beginning of the line, which means it would be ignored - when the program runs to the next echo statement, you found the problem HTH |
Re: JavaScript Debugging
Quote:
|
Re: JavaScript Debugging
Thanks for all the replys
Quote:
Quote:
Thanks once again |
| All times are GMT. The time now is 16:43. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum