Jump to content
Sign in to follow this  


Recommended Posts

3 hours ago, Skeletor said:

Or another way is, in SciTE, Go to Tools...


Those are "only" available in the Full SciTE4AutoIt3 version!


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
Live for the present,
Dream of the future,
Learn from the past.

Share this post

Link to post
Share on other sites
16 hours ago, ShrutiW said:

Can anyone please tell me how to debug script in AutoIt?

Keep away from coding bugs?

(Just saying)

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Share this post

Link to post
Share on other sites

@ShrutiW If you are looking for a debugger tool for your script, then there is no official tool available. The way most people debug their script is to try to find the affected area and pin point the bug by manually adding in code to assist in diagnostics (ConsoleWrite to print the value of some variables to verify that they indeed have the expected value).

That being said, there are some debugging tools available but they are a bit old and dated (haven't seen any which have been updated in the recent years), they basically work by cloning your script and adding some custom code to emulate breakpoints and update the value of variables.

Natively the AutoIt interperter does not have any support for debugging as far as I am aware.

Share this post

Link to post
Share on other sites

As said, a judiciously placed ConsoleWrite, if debugging via the Console (i.e. in SciTE) or by using MsgBox's in a similar manner when debugging normally without the Console/SciTE.

Sometimes you can can even get away with using one or more Splash, with timed delay (Sleep).

Another great method, is to have values written to a Log or INI text file etc at similar points.

Edited by TheSaint

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.


What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)


Share this post

Link to post
Share on other sites

I'm very puzzled by the lack of mention of the greatest AutoIt debug tools! Why nothing about the great graphical debugger?  (download at: http://www.thefoolonthehill.net/drupal/AutoIt Debugger)

Or the _Dbug udf? (See: 

It's true that they're not "official", but so what and who cares? If I were forced to debug without one or the other of those two, I'd find another language. The other techniques mentioned here are, in only my own personal opinion, too painful to use.

Edited by Mbee

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...