Valhalla1 Posted September 28, 2007 Share Posted September 28, 2007 thanks, this is awesome and has saved me some heaches Link to comment Share on other sites More sharing options...
DEFROG Posted October 24, 2007 Share Posted October 24, 2007 Thanks Klaatu that is just what I needed for quick and simple debugging. Great job. Link to comment Share on other sites More sharing options...
Klaatu Posted October 25, 2007 Author Share Posted October 25, 2007 You're welcome. Glad you like it. Often quick and simple is what is needed when debugging. I missed how we could debug easily under the old version of Autoit (v2). There didn't used to be any debuggers out there for use with v3, but now there's quite a few. I wanted one I could understand, and written in pure AutoIt. Took quite a while to figure out how I wanted to do it, and I must say I'm quite pleased with the results. My Projects:DebugIt - Debug your AutoIt scripts with DebugIt! Link to comment Share on other sites More sharing options...
Klaatu Posted October 25, 2007 Author Share Posted October 25, 2007 Have you stopped developing this Klaatu? Just wondered since no posts since Jan 25th. Or is it lack of feedback for incentive?Basically, yes I've stopped developing it, mainly because I haven't found the need. It works as I intend it to. I use it practically every day and it works well. No bugs have been reported, and nobody's asked for any additions, so it is what it is, for now anyway. My Projects:DebugIt - Debug your AutoIt scripts with DebugIt! Link to comment Share on other sites More sharing options...
Klaatu Posted February 27, 2008 Author Share Posted February 27, 2008 Updated. See below for change log. See first post for download.Version 1.5fixed: try to reactivate the previously active window if the 'Pause' button was used and later the 'Resume' button. Should prevent Send commands in the script immediately following resuming from being sent to our debug window.changed: extra characters added to window title changed from brackets to braces so we don't use the same character AutoIt does for title matching.Version 1.4changed: if user does not have write permissions on the folder containing the script, run script in passthru mode instead of failing.changed: exit gracefully if we prompt the user for a file to debug and no file was given.added: set focus to Exit button so we can be dismissed with an enter or spacebar key.changed: unnecessary StringFormat commands changed to literal strings. My Projects:DebugIt - Debug your AutoIt scripts with DebugIt! Link to comment Share on other sites More sharing options...
Klaatu Posted August 8, 2008 Author Share Posted August 8, 2008 Updated. See first post for download. Version 1.5.1: because of the script-breaking changes made in v3.2.12 of AutoIt, our include list needed to be updated to the new "standard". If you're using an earlier version of AutoIt, note that this script should work with earlier versions, however the include list will probably need to be changed. My Projects:DebugIt - Debug your AutoIt scripts with DebugIt! Link to comment Share on other sites More sharing options...
robinsiebler Posted November 4, 2008 Share Posted November 4, 2008 I tried this script, but when I click on a button to launch 'FileOpenDialog', the dialog never appears.... Link to comment Share on other sites More sharing options...
Googamanga Posted September 15, 2010 Share Posted September 15, 2010 This is awesome, I use this all the time!!! Link to comment Share on other sites More sharing options...
Klaatu Posted January 24, 2011 Author Share Posted January 24, 2011 New version posted. See first post for download links.Version 1.6* changed: StripComments() and ScanForVars() now use regular expressions to greatly speed up the code instead of looping through the line character by character.* changed: turning debugging on and off is now much more flexible. In addition to skipping '# cs'/'# ce' blocks, you can now use ';debugit-off' and ';debugit-on' to stop and start debugging.* added: in addition to multi-dimensional-arrays being identified as such, objects and hwnds will too.* other minor changes too numerous to mention (or remember, frankly).Along the same lines as DebugIt, I've also come up with DebugVer, which basically does the same thing as DebugIt (in that you use it to debug your script), but instead of opening up a GUI and outputting the results there, it creates a new .au3 file from your script with debug code in it. When you run this script it will create a log file of the script's execution. Hopefully that's not too convoluted; basically from YourScript.au3 DebugVer creates YourScriptVer.au3, which when executed creates YourScriptVer_somenumber.log. I use it instead of DebugIt when interactive debugging would be inconvenient. One note, though: if your script successfully executes (ie, no errors are generated), the log file is sent to the recycle bin so as not to build up a bunch of log files. See first post for this script as well.Enjoy,Klaatu My Projects:DebugIt - Debug your AutoIt scripts with DebugIt! 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