Jump to content

General question about debugging script


Recommended Posts

Hello,

I am a basic AutoiIT user.

I'm writing a script to read and manage very large txt files and I'm looking the best way to debug my script.

I currently use Stumpii Graphical AutoIt Debugger; it's a great tool but it seems to me that my application becomes too slow.

I like to use Scite and the "Debug to Console" feature to catch the variable value.

So I'm asking if Scite has the "pause/resume/breakpoint" features (without using the icon in the tray bar).

Alternatively, can anyone suggest me another debugger or how add this features directly in my script?

Tanks all.

Link to comment
Share on other sites

Scite doesn't have the debugging capabilities of using breakpoints and such that I'm aware of (please correct me if I'm wrong) but you can add this:

#AutoIt3Wrapper_Run_Debug_Mode=y

To the top of your script and it outputs which line is running to the console so you can see which path it's taking through your script.

Dating a girl is just like writing software. Everything's going to work just fine in the testing lab (dating), but as soon as you have contract with a customer (marriage), then your program (life) is going to be facing new situations you never expected. You'll be forced to patch the code (admit you're wrong) and then the code (wife) will just end up all bloated and unmaintainable in the end.

Link to comment
Share on other sites

Scite doesn't have the debugging capabilities of using breakpoints and such that I'm aware of (please correct me if I'm wrong) but you can add this:

#AutoIt3Wrapper_Run_Debug_Mode=y

To the top of your script and it outputs which line is running to the console so you can see which path it's taking through your script.

Tanks LurchMan, this is an interesting feature which I will take into account.

Gianluca

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...