Jump to content

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


Recommended Posts

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

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

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