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 

wants debugging tools!! "watch window" "break

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



Joined: 31 Aug 2006
Posts: 9

PostPosted: Sun Sep 03, 2006 1:32 am    Post subject: wants debugging tools!! "watch window" "break Reply with quote

Hi,
Is there any standard AHK tool to debug the code. I am looking something that has ability to add “break point”, “watch window” to see what’s going on while program is running…. To see every steps inside the loop…. You know, I am new at AHK and try to learn something but without these tools it’s hard to understand the execution steps and what variable has what value and what kind of value….

If you have any idea, will you please let me know where I can find those handy dandy tools?

Thank you for your time.




Musa.Biralo
Back to top
View user's profile Send private message
Rabiator



Joined: 17 Apr 2005
Posts: 265
Location: Sauerland

PostPosted: Sun Sep 03, 2006 8:45 am    Post subject: Reply with quote

You can use the commands ListVars and Pause in your script. It's accurately described in the manual among some other helpful commands; search for "Debugging a Script".
Additionally you can watch the last proceeded lines with a click on Open in the context menu of your script's icon in the systray.
Back to top
View user's profile Send private message
SKAN



Joined: 26 Dec 2005
Posts: 5880

PostPosted: Sun Sep 03, 2006 9:12 am    Post subject: Reply with quote

Rabiator wrote:
Additionally you can watch the last proceeded lines with a click on Open in the context menu of your script's icon in the systray.


Yes! ..and "double-clicking" the TrayIcon of any script will do the above good! .. Just wanted to mention it as it is easier to remember!

Regards, Smile
_________________
SKAN - Suresh Kumar A N
Back to top
View user's profile Send private message
Musa



Joined: 31 Aug 2006
Posts: 9

PostPosted: Sun Sep 03, 2006 6:05 pm    Post subject: Reply with quote

Thank you dear friends.....
Now i got what i want.....i have to explore it little bit then "rock and roll" \Very Happy/

Once again THANK YOU.
Back to top
View user's profile Send private message
Mistrel



Joined: 12 Sep 2005
Posts: 188

PostPosted: Sun Sep 03, 2006 6:25 pm    Post subject: Reply with quote

Rock and roll!
Back to top
View user's profile Send private message
PhiLho



Joined: 27 Dec 2005
Posts: 6721
Location: France (near Paris)

PostPosted: Mon Sep 04, 2006 10:39 am    Post subject: Reply with quote

We often use MsgBox or ToolTip to look at specific values, or OutputDebug command (need a third party viewer) or even FileAppend...

Note that Chris (AutoHotkey's programmer) plans to add debugging facilities (as you described) to the language, but they aren't here yet...
_________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")
Back to top
View user's profile Send private message 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