longisland Posted October 12, 2006 Share Posted October 12, 2006 I have some work in progress with autoit, however, as my code gets longer and longer, it's getting harder to debug it by inserting msgboxes. Is there a better way to debug? for example a step by step run and display variable values along the way? I was really troubled by the difficulties in debugging. Please please help me here. Link to comment Share on other sites More sharing options...
creeping Posted October 12, 2006 Share Posted October 12, 2006 Do a forum search, there are some threads about that topic, i think one is in the planning Link to comment Share on other sites More sharing options...
this-is-me Posted October 12, 2006 Share Posted October 12, 2006 Use the Scite Editor. Reasons: - Code Highlighting (that fixes 90% of code issues right there). - Embedded communication with ConsoleWrite that allows you to debug without constant messageboxes. - Syntax checking built-in (you can check for mistypes at any time).You can then use ConsoleWrite("debug message") in your scripts for debugging that will only be shown when running from scite.Another option is here. I still recommend scite for the highlighting features and automatic syntax checking. Who else would I be? Link to comment Share on other sites More sharing options...
longisland Posted October 13, 2006 Author Share Posted October 13, 2006 Use the Scite Editor. Reasons: - Code Highlighting (that fixes 90% of code issues right there). - Embedded communication with ConsoleWrite that allows you to debug without constant messageboxes. - Syntax checking built-in (you can check for mistypes at any time).You can then use ConsoleWrite("debug message") in your scripts for debugging that will only be shown when running from scite.Another option is here. I still recommend scite for the highlighting features and automatic syntax checking.thx a lot, that really helps. I'll explore these options. PS:I love this forum. The replies are so spontaneous. Link to comment Share on other sites More sharing options...
Stumpii Posted October 13, 2006 Share Posted October 13, 2006 I have some work in progress with autoit, however, as my code gets longer and longer, it's getting harder to debug it by inserting msgboxes. Is there a better way to debug? for example a step by step run and display variable values along the way?I was really troubled by the difficulties in debugging. Please please help me here.You can also take a look at this: AutoIt Graphical Debugger Give a man a script; you have helped him for today. Teach a man to script; and you will not have to hear him whine for help.AutoIt4UE - Custom AutoIt toolbar and wordfile for UltraEdit/UEStudio users.AutoIt Graphical Debugger - A graphical debugger for AutoIt.SimMetrics COM Wrapper - Calculate string similarity. 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