Book a Demo

Author Topic: How do I see script compilation errors?  (Read 2946 times)

Nigel Campbell

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
How do I see script compilation errors?
« on: June 04, 2012, 11:01:48 pm »
I am writing a script in the scripting facility (Javascript in this case) and I can't get compilation errors from the script when I try to run it.  When it is correct it will run fine.  Currently I'm reduced to binary searches in the script to locate the source of the error.

This seems like a 'what am I missing?' type of issue, but how can one see script compilation errors?

windrider

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: How do I see script compilation errors?
« Reply #1 on: June 12, 2012, 10:30:28 pm »
There doesn't seem to be anything like this. You can only see runtime errors unfortunately. I am fighting with the same crab.... even a semicolon can become a nightmare ...

Good luck. Try to run the script as often as possible when only slight changes are done. That helps.