Jump to content

Recommended Posts

Posted

 

 

HI,

I have a script that sometimes, it just stops processing.

i check for waits like waiting for a window,

i checked for while 1 lopps

but that was not it

is there a way to tell what a script is waiting for?

when i kill the script execution and restart it , it works ok

 

i am sorry, due to company security rules, i can not include the script in this feed.

 

Posted

Sure, we have a magic ball that tells us why every script on this planet doesn't work properly. Post the script or at least be more descriptive about what this script does and it's a better chance that someone will help.

Posted (edited)

i had wondered if there was a tool that could track the exection of a script that

would show where (line number) the script was

when using mainframe languages such as COBOL, FORTRAN, etc there are such tools

 

Edited by serena_knight
Posted (edited)

You can ConsoleWrite() at specific lines or functions to check what and when it's running so you might get a clue where your script is slow or stuck. I am not aware of any advance debugging tools for AutoIt.

 

Edit: @Danp2 suggested an easier and better approach.

Edited by Andreik

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
  • Recently Browsing   0 members

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