Sign in to follow this  
Followers 0
sfunk1x

Script Progress/Line by line follower...

5 posts in this topic

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! ;)

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

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

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

You could always sprinkle your code with liberal doses of ConsoleWrite to track progress and for debugging.

Share this post


Link to post
Share on other sites

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!

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