AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Debug script

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
feejo



Joined: 16 Jun 2007
Posts: 245

PostPosted: Mon Jun 18, 2007 3:56 pm    Post subject: Debug script Reply with quote

I create in my dream a script that help for debug, but I need help to create it.
1. He place in memory your original script in caise you want to cancel all changes in it. Or simply do a copy of your script to debug. Ask you if you want to have a backup copy (cause you will probably need one or already have one later on)
2. He ask you how long sleep time you want, ex: you type 500 he will change in your script every Sleep, to 500. Do do that in script editor go to edit, replace, and change every sleep,, 100 to Sleep,, 500 . Then He save and exit from edit. Also a option that can change the sleep time to a question that the user ansower: Want to go to next line press space bar.
3. He ask you if you want to start the debug, A window appear that show line by line or just highlite the line of the scipt that is running slower. OR And for each like you just press SPACE BAR to go to the next.
4. He allow you to change and save the script directly, and rerun it. Until you fid your solution.

If someone can create that would be a good asset.
Back to top
View user's profile Send private message
David Andersen



Joined: 15 Jul 2005
Posts: 85
Location: Denmark

PostPosted: Mon Jun 18, 2007 4:08 pm    Post subject: Reply with quote

This is surely a good idea. A great thing would be to be able to execute one line at the time and see the contents of all variables in a tooltip. I do not think such a script should be very difficult to create as the content of all variables is already available in the standard Autohotkey gui (you get the GUI if you double click on the tray icon of an Autohotkey script that has not been compiled.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group