polps Posted June 10, 2010 Share Posted June 10, 2010 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 More sharing options...
LurchMan Posted June 10, 2010 Share Posted June 10, 2010 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 More sharing options...
polps Posted June 11, 2010 Author Share Posted June 11, 2010 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 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