View Single Post
Old 18-05-2004, 00:20   #6
punky
Inactive
 
Join Date: Jun 2003
Age: 45
Posts: 14,750
punky has a golden aurapunky has a golden aura
punky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aurapunky has a golden aura
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
punky is offline   Reply With Quote