View Full Version : debugger

31 Aug 2011, 5:38 PM
I'm coding my first Sench Touch app. When there is a syntax error - what is the best way to find it? I'm using Aptana but it does not catch syntax errors. When there is a problem I have to start commenting out every line and can take forever to find the error. Advise? I don't mind using another IDE or whatever it takes to find bugs faster.

31 Aug 2011, 10:07 PM
A good idea is to post code with ?'s. Aptana should catch JavaScript errors if you are in the JavaScript window preference. Eclipse classic is also a good choice. Really the same thing. Eclipse is probably the way to go as I have had better experience with plugins.

Another good site is us jslint.com. You can post your code and find errors.

Most likely you have a trailing comma.

Why co mention every line. Use google chrome. Spacebar+f12 and set break points.

Past code buddy.

Hope that helped