Jump to content

Graphical AutoIt Debugger


Stumpii
 Share

Recommended Posts

Can you email the error report for #1 so I can see what the error is. Does it just occur when typing, or copy-and-pasting? If copy and paste, then can you send me some sample that I can paste in to investigate.

For #2, can you send me a sample script so that I can look into it.

Thanks, Stumpii

 

#1. during typing NOT copy&pasting (copy&pasting is no problem except below case)

for example,

1. copy & paste below code  on your autoit debugger editor (in non-alpabet characters)

Msgbox(0, "korean language", "타이핑중입니다") 

or

MsgBox(0, "japanease language", "入力中です")

or

Msgbox(0, "chinese", "输入是")

or

Msgbox(0, "german", "Der Eingänge")

or

Msgbox(0, "russian", "Из входов")

or

Msgbox(0, "greek", "Από τις εισόδους είναι")

or

Msgbox(0, "france", "Des entrées est")

2. then try typing in english comment on the right of Msgbox(0, "test", "타이핑중입니다") 

Msgbox(0, "test", "타이핑중입니다")  ;then try typing in english here

3. it raise the error.

Thanks.

Edited by COBAY
Link to comment
Share on other sites

#1. during typing NOT copy&pasting (copy&pasting is no problem except below case)

for example,

1. copy & paste below code  on your autoit debugger editor (in non-alpabet characters)

Msgbox(0, "korean language", "타이핑중입니다") 

or

MsgBox(0, "japanease language", "入力中です")

or

Msgbox(0, "chinese", "输入是")

or

Msgbox(0, "german", "Der Eingänge")

or

Msgbox(0, "russian", "Из входов")

or

Msgbox(0, "greek", "Από τις εισόδους είναι")

or

Msgbox(0, "france", "Des entrées est")

 

2. then try typing in english comment on the right of Msgbox(0, "test", "타이핑중입니다") 

Msgbox(0, "test", "타이핑중입니다")  ;then try typing in english here

 

3. it raise the error.

 

Thanks.

Okay, thanks. I think I have it fixed now. I notice that if you open the file, then click File>Reload, the doc looks fine. I have changed the open code to be the same as the reload code. For the autocomplete, as a workaround, you may be able to disable that in the options.

Working on some other changes at the moment, but the fixes will be in the next release.

Thanks,

Stumpii

“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

  • 2 weeks later...

New version available. Download link in first post (or run the program if already installed and it will update itself).

Rev 0.47.0 - 10 Sep 13
    *** Known issue: Don't know how/when, but the calltips popup code is broken. It still appears when hovering over a function, but not while typing. ***

    Fixed issue where split string with quotes ends up missing the quotes. Thanks c.haslam.
    Added 'Save As' button. Saving the default 'untitled.au3', or running any tool that saves it now brings up the save as dialog.
    The user can now elect to debug AutoIt3 System Include files, User-supplied Include files, both or none at all. Thanks J D Feemster.
    File close command also clears the current file entry in the RibbonOrbRecentItem collection provided that file was a #Include file. Thanks J D Feemster.
    Better handling of UTF8 files.
    Added some debug for errors when reading files.
    Debugger now accepts multiple command line arguments with the first being the script file and the rest being the command line arguments for the script. Thanks J D Feemster.
    Changed the default MRU list limit to 10 to avoid the cutoff of the File popup. Thanks BodoWitcha.
    Fixed File>New opening a different untitled file from that loaded when debugger run with no command line arguments.
    Ribbon now resizes better on smaller screens. The important tool do not shrink to compact size (icon only).
    Swapped Compile and Build icons and improved tooltip text.
    Changed Run and Run w/ Output icons.
    Ribbon is now full screen (same as Word/Excel).
    Added 'Debug to console, debug to msgbox and remove all debug lines' features to the Debugging submenu of the document context menu. Refer to help file for more details.
    Updated About popup. Thanks BodoWitcha.
    Other bug fixes.  Thanks BodoWitcha.
    Tweaked ScintillaNet to allow code drag and drop. This means that files cannot be dropped on the code window (but can be dropped on any other window).
    Enabled drag and drop of files onto the Ribbon to open them.
    Removed unused icons from Toolchest toolbar.
    Added icon to document window.
    Changed code folding column colour.
    Code context check column (one with yellow blob) is not a line selector to make it easier to select lines.
    Code folding column made 12 pixels instead of 16.

“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

New version available. Download link in first post (or run the program if already installed and it will update itself).

Rev 0.47.0 - 10 Sep 13

    *** Known issue: Don't know how/when, but the calltips popup code is broken. It still appears when hovering over a function, but not while typing. ***

    Fixed issue where split string with quotes ends up missing the quotes. Thanks c.haslam.

    Added 'Save As' button. Saving the default 'untitled.au3', or running any tool that saves it now brings up the save as dialog.

    The user can now elect to debug AutoIt3 System Include files, User-supplied Include files, both or none at all. Thanks J D Feemster.

    File close command also clears the current file entry in the RibbonOrbRecentItem collection provided that file was a #Include file. Thanks J D Feemster.

    Better handling of UTF8 files.

    Added some debug for errors when reading files.

    Debugger now accepts multiple command line arguments with the first being the script file and the rest being the command line arguments for the script. Thanks J D Feemster.

    Changed the default MRU list limit to 10 to avoid the cutoff of the File popup. Thanks BodoWitcha.

    Fixed File>New opening a different untitled file from that loaded when debugger run with no command line arguments.

    Ribbon now resizes better on smaller screens. The important tool do not shrink to compact size (icon only).

    Swapped Compile and Build icons and improved tooltip text.

    Changed Run and Run w/ Output icons.

    Ribbon is now full screen (same as Word/Excel).

    Added 'Debug to console, debug to msgbox and remove all debug lines' features to the Debugging submenu of the document context menu. Refer to help file for more details.

    Updated About popup. Thanks BodoWitcha.

    Other bug fixes.  Thanks BodoWitcha.

    Tweaked ScintillaNet to allow code drag and drop. This means that files cannot be dropped on the code window (but can be dropped on any other window).

    Enabled drag and drop of files onto the Ribbon to open them.

    Removed unused icons from Toolchest toolbar.

    Added icon to document window.

    Changed code folding column colour.

    Code context check column (one with yellow blob) is not a line selector to make it easier to select lines.

    Code folding column made 12 pixels instead of 16.

 

Okay, It works fine now !

Thank you.................

Edited by COBAY
Link to comment
Share on other sites

  • 4 weeks later...

I am running version 0.47.0.0 of the debugger with version 3.3.8.1 of AutoIt.

It looks like #comments-start and #comments-end are being ignored, at least when it comes to #include statements.  For example:

#comments-start
  #include "idontexist.au3"
#comments-end

When this is executed in the debugger, I get the error:

Include file 'idonotexist.au3' could not be located.

Followed by:

The debugger could not find the the path to the include file 

      #include "idonotexist.au3"

.

.

.

Shall we continue?

It does not matter whether I clidk OK or Cancel, it continues to run the remainder of the script.

---edit---

This also goes the other way.

 

#comments-start

#include "ihavebadcode.au3"
#comments-end

When this is executed in the debugger, the include file is included, and bad code is executed.

Edited by willichan
Link to comment
Share on other sites

  • 2 weeks later...
  • 1 year later...

Hello,

I am debugging a script that automates LibreOffice. All tasks execute successfully when running the script in every possible way BUT from debug run. When running it with debug run, then I get a COM error from one of the functions called on a LibreOffice COM object. Any ideas why would that happen, only when debugging the script?

Link to comment
Share on other sites

  • 2 months later...

AutoIt_Debugger_Setup_v0.32.0.exe.7z

Latest version which I have stored on my disc.

mLipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

Spoiler

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. 

My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST APIErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 *

 

My contribution to others projects or UDF based on  others projects: * _sql.au3 UDF  * POP3.au3 UDF *  RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane

Useful links: * Forum Rules * Forum etiquette *  Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * 

Wiki: Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * 

OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX

IE Related:  * How to use IE.au3  UDF with  AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskSchedulerIE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related:How to get reference to PDF object embeded in IE * IE on Windows 11

I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions *  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *

I also encourage you to check awesome @trancexx code:  * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuffOnHungApp handlerAvoid "AutoIt Error" message box in unknown errors  * HTML editor

winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
:naughty:  :ranting:, be  :) and       \\//_.

Anticipating Errors :  "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

Signature last update: 2023-04-24

Link to comment
Share on other sites

I really enjoy this debugger :)

I just stump on 2 bugs, on v0.47 can we still report them here ?

This one is probably already know and not really a bug but,  because the files are put in the debug folder,  @scriptdir report that folder, so if you have some files to open don't forget to copy them manually into the Debug folder.

The other one made me smile ... here a pic of the error...

Ok I have a big array  [20][7][10][2]  with a big Initialization string  .... 

Language check is fine and its works fine when I run the script.

But poor debugger... it said, whatthehell is that string, I'm out of here :P

:D

post-5297-0-17366700-1429333889_thumb.jp

Edited by JoeCool
Link to comment
Share on other sites

This is likely hitting the input line size limit, 4096 if memory serves.

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)

Link to comment
Share on other sites

  • 10 months later...
Just now, chavv said:

download link seems dead :(

not at all, look to post #413

 

 

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

Spoiler

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. 

My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST APIErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 *

 

My contribution to others projects or UDF based on  others projects: * _sql.au3 UDF  * POP3.au3 UDF *  RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane

Useful links: * Forum Rules * Forum etiquette *  Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * 

Wiki: Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * 

OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX

IE Related:  * How to use IE.au3  UDF with  AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskSchedulerIE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related:How to get reference to PDF object embeded in IE * IE on Windows 11

I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions *  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *

I also encourage you to check awesome @trancexx code:  * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuffOnHungApp handlerAvoid "AutoIt Error" message box in unknown errors  * HTML editor

winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
:naughty:  :ranting:, be  :) and       \\//_.

Anticipating Errors :  "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

Signature last update: 2023-04-24

Link to comment
Share on other sites

  • 6 months later...
5 minutes ago, aiter said:

all buggy

details please 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

Spoiler

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. 

My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST APIErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 *

 

My contribution to others projects or UDF based on  others projects: * _sql.au3 UDF  * POP3.au3 UDF *  RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane

Useful links: * Forum Rules * Forum etiquette *  Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * 

Wiki: Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * 

OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX

IE Related:  * How to use IE.au3  UDF with  AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskSchedulerIE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related:How to get reference to PDF object embeded in IE * IE on Windows 11

I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions *  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *

I also encourage you to check awesome @trancexx code:  * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuffOnHungApp handlerAvoid "AutoIt Error" message box in unknown errors  * HTML editor

winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
:naughty:  :ranting:, be  :) and       \\//_.

Anticipating Errors :  "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

Signature last update: 2023-04-24

Link to comment
Share on other sites

  • 5 months later...

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...