mrbig1479 Posted March 19, 2008 Share Posted March 19, 2008 Hey i have a bot running on my pc most of the time it works fine but sometimes it crashes and i dont know yet why what i want to do is making a script that will look for an autoit automated generated error .( when it crashes there is usually an autoit error .) that script will then relunch the program that crashed (the error is different and its not always the same but is an autoit error.) Link to comment Share on other sites More sharing options...
tobias7 Posted March 19, 2008 Share Posted March 19, 2008 I'm not sure if this will help, but I recently started using the SciTE editor that comes with AutoIt. There is a section called tools with a lot of debugging tools. The one that might help you is called Trace: Add Trace Lines or Trace: Add Func Trace Lines. This tool adds debugging output statements to either every single line of your code or the beginning of every function. That way, when your program crashes, SciTE's output box holds a record of the code that was running before the crash. I've found this a great help in debugging my programs. Hope this helps, -Tobias7 Link to comment Share on other sites More sharing options...
mrbig1479 Posted March 19, 2008 Author Share Posted March 19, 2008 well thanks for your help but its not my script its compiled and the only thing i can do is restart it every time it crash.. so i need a script outside the main script :_) 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