Jump to content
Sign in to follow this  
mpcluever

How to see where it got hung up?

Recommended Posts

mpcluever

I did some scripting with Autohotkey (yes I know...boo hiss) and the thing I liked was you could see where it got hung up waiting for something to happen. Is that possible with Autoit?

Share this post


Link to post
Share on other sites
RodT

One way I do it is to create a status field in my window, and update that status field as the program cycles through its various activities. Another is to put a MsgBox in your code. If it pops up, you know you got at least that far.

Hope that helps!

Share this post


Link to post
Share on other sites
Kerros

#AutoIt3Wrapper_Run_Debug_Mode=Y

Will display in the console where you are at in the script.


Kerros===============================================================How to learn scripting: Figure out enough to be dangerous, then ask for assistance.

Share this post


Link to post
Share on other sites
zorphnog

Great little feature in the SciTE editor: Tools->Trace: Add Trace Lines. This will display each line as it is executed in the console window of SciTE.

Share this post


Link to post
Share on other sites
Kovitt

One way I do it is to create a status field in my window, and update that status field as the program cycles through its various activities. Another is to put a MsgBox in your code. If it pops up, you know you got at least that far.

Hope that helps!

I like to use MsgBoxs' or I use ProgressOn() progressSet() and ProgressOff() it displays a nice little progress bar as the script runs..

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.