sfunk1x Posted September 19, 2005 Share Posted September 19, 2005 Is there a tool out there that will watch or show what line is executing on the script while it is running? This would REALLY help with debug of a script I'm trying to fix at the moment... Trying to close one while and then activate another to finish an app installation, and the script just ends. It compiles fine and Scite gives me no errors, so I'mnot sure what the deal is and some form of progress script/application would be awesome! Thanks for putting up with me today! Link to comment Share on other sites More sharing options...
jefhal Posted September 19, 2005 Share Posted September 19, 2005 Is there a tool out there that will watch or show what line is executing on the script while it is running?You can add msgbox or tooltip statements throughout your code, or if you are using Scite, you can choose: Tools>Trace:AddTraceLines... ...by the way, it's pronounced: "JIF"... Bob Berry --- inventor of the GIF format Link to comment Share on other sites More sharing options...
seandisanti Posted September 20, 2005 Share Posted September 20, 2005 Is there a tool out there that will watch or show what line is executing on the script while it is running? This would REALLY help with debug of a script I'm trying to fix at the moment...Trying to close one while and then activate another to finish an app installation, and the script just ends. It compiles fine and Scite gives me no errors, so I'mnot sure what the deal is and some form of progress script/application would be awesome!Thanks for putting up with me today! there are multiple ways to do this, if it's a loop and you want to show a counter or something, i'd recommend using ToolTip() to display the output, or if you just want to see what line it's at at any given point, add this to the top of your code Opt("TrayIconDebug",1) and you'll be able to see a tooltip of the currently executing statement when you hover your mouse over the autoit icon in the systray Link to comment Share on other sites More sharing options...
Confuzzled Posted September 20, 2005 Share Posted September 20, 2005 You could always sprinkle your code with liberal doses of ConsoleWrite to track progress and for debugging. Link to comment Share on other sites More sharing options...
sfunk1x Posted September 20, 2005 Author Share Posted September 20, 2005 Damn, you guys are quick! Thanks for the awesome responses! I used the Opt tracelines response, but I'll keep the others in mind for future debugging. Thanks! 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