Jump to content

Error on script line -1


aisc
 Share

Recommended Posts

I have a long running script, which occasionally errors. The compiled mode shows the error as line -1. When I run in debug, I never seem to find the error; even when running it for a long time. Is there any of the compile options that allow the runtime to report the line that the error occured on? I tried the include scriptsource option, but reading the forum, it doesn't appear that is what the option is for.

L'il help?

Thanks,

aisc

Link to comment
Share on other sites

The code is a thousand lines, so I'm not sure where it's dying exactly. My question was just whether there was a way to get the run time to spit out a line number, rather than line -1. I do like the FileWrite idea. I have a lot of consolewrites... I could replace those.

Thanks!

aisc

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...