Sign in to follow this  
Followers 0
mrbig1479

making a script that will look for an autoit error ..

3 posts in this topic

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.)

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

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 :_)

Share this post


Link to post
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
Sign in to follow this  
Followers 0