boylesg Posted June 17, 2010 Share Posted June 17, 2010 Does anyone kno of a freeware command line utility that parses javascript and outputs syntax errors in the same way a compiler?Using client side javascript is fine because you get error out put in IE much like a compiler.But when using it in asp, all you get is "internal server error" and you are left to comment out the code and put it back a line at a time until you find the error.At least that is the case with the web server I am using.It is bloody painful and slow. Link to comment Share on other sites More sharing options...
justsomeguy Posted June 17, 2010 Share Posted June 17, 2010 The server may have error messages disabled. If it's ASP.NET, you can decide whether or not error messages get sent to the browser. For ASP classic, if you're using IE then IE will just show a generic error page. If you want to see the actual error message, either use a different browser or go into IE's options and disable "Friendly HTTP errors".The JSlint tool will also check for syntax errors. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.