Jump to content

Javascript parser


boylesg
 Share

Recommended Posts

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...