serena_knight Posted October 12, 2023 Share Posted October 12, 2023 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. Link to comment Share on other sites More sharing options...
Andreik Posted October 12, 2023 Share Posted October 12, 2023 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. When the words fail... music speaks. Link to comment Share on other sites More sharing options...
serena_knight Posted October 12, 2023 Author Share Posted October 12, 2023 (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 October 12, 2023 by serena_knight Link to comment Share on other sites More sharing options...
Danp2 Posted October 12, 2023 Share Posted October 12, 2023 Look up "TrayIconDebug" in the help file Andreik 1 Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Andreik Posted October 12, 2023 Share Posted October 12, 2023 (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 October 12, 2023 by Andreik When the words fail... music speaks. Link to comment Share on other sites More sharing options...
serena_knight Posted October 12, 2023 Author Share Posted October 12, 2023 (edited) ty all for the advice this resolved my issue Edited October 12, 2023 by serena_knight 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