nativecolorado Posted March 20, 2009 Share Posted March 20, 2009 In my scripts I write in AutoIt 3.3 and Scite, when I get an error the message sometimes says "Line -1", rather than the actual offending line number. Am I doing something wrong, or is this expected behavior? Link to comment Share on other sites More sharing options...
James Posted March 20, 2009 Share Posted March 20, 2009 Am I doing something wrong, or is this expected behavior?Well obviously you are. Can we see code? Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
Developers Jos Posted March 20, 2009 Developers Share Posted March 20, 2009 This is expected when running a compiled script. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
LurchMan Posted March 20, 2009 Share Posted March 20, 2009 Is there a way to make it output the line it failed on when it is compiled? Dating a girl is just like writing software. Everything's going to work just fine in the testing lab (dating), but as soon as you have contract with a customer (marriage), then your program (life) is going to be facing new situations you never expected. You'll be forced to patch the code (admit you're wrong) and then the code (wife) will just end up all bloated and unmaintainable in the end. Link to comment Share on other sites More sharing options...
Richard Robertson Posted March 20, 2009 Share Posted March 20, 2009 No. The way the compiled scripts are run, there are no lines in code anymore. Link to comment Share on other sites More sharing options...
CodyBarrett Posted March 21, 2009 Share Posted March 21, 2009 best way is to FIX the autoit error then recompile it, other than that i have no idea [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size] Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now