Graphical AutoIt Debugger
#61
Posted 11 November 2006 - 09:45 AM
#62
Posted 13 November 2006 - 07:58 PM
Thanks
VW Bug user
#63
Posted 14 November 2006 - 02:31 AM
That is unfortunate, but understandable.Very nice this tool, but I found a bug. Try this code:
Thanks
Because the program does not modify the original script and the debug script can run from the Windows Temp directory, when the debug script is created, @ScriptDir and other script name/folder macros are replaced with variable holding the value that the original script would have. This allows the debug script to run as if it were the original script.
The line 'Func BugFunc( $Parameter = @ScriptDir )' is converted to 'Func BugFunc( $Parameter = $ScriptDir )' or similar which is illegal and generates the error.
I don't see an easy way around this, so my only suggestion is that you try remove the @... macro from the function. Not ideal, but it should work.
#64
Posted 16 November 2006 - 02:10 AM
New features include:
1. Removed the wrapper dll, so the program starts quicker and runs a little faster.
3. Added menu and toolbar command 'Restart Debug File' which will close the current debugger and run the program again from the start. This is useful when you have gone past a part of the and want to start again.
4. Added menu and toolbar command 'Compile & Restart Debug File' which will close the current debugger, regenerate the debug script file and run the program from the start. This is useful when you have found an error in the original code, fixed it and want to test the change.
5. Debug script creator program now appears centre screen, not off to the side.
6. Added new code window with basic syntax highlighting.
#65
Posted 16 November 2006 - 03:31 AM
I have placed a new version (v0.9.0) of the AutoIt Debugger on my site (refer to post #1).
New features include:
1. Removed the wrapper dll, so the program starts quicker and runs a little faster.
3. Added menu and toolbar command 'Restart Debug File' which will close the current debugger and run the program again from the start. This is useful when you have gone past a part of the and want to start again.
4. Added menu and toolbar command 'Compile & Restart Debug File' which will close the current debugger, regenerate the debug script file and run the program from the start. This is useful when you have found an error in the original code, fixed it and want to test the change.
5. Debug script creator program now appears centre screen, not off to the side.
6. Added new code window with basic syntax highlighting.
never knew it went 1 , 3 , 4
#66
Posted 16 November 2006 - 01:36 PM
Line 0 (File "C:\programmi\Autoit Debugger\AutoIt Debugger.exe"
$includeFile = $aIncludeRegEx[0]
$includeFile = $aIncludeRegEx^ ERROR
Error: Subscript used with non-Array variable.
Please let me know if I can provide further details.
#67
Posted 16 November 2006 - 06:14 PM
That bit of the code is related to extracting #include files for processing. I have tried debugging files with and without #includes and I cannot generate the error.I get the following error with v. 0.90:
Line 0 (File "C:\programmi\Autoit Debugger\AutoIt Debugger.exe"
$includeFile = $aIncludeRegEx[0]
$includeFile = $aIncludeRegEx^ ERROR
Error: Subscript used with non-Array variable.
Please let me know if I can provide further details.
Could you answer the following questions to help me narrow down where the problem is
1. Have you tried debugging the 'Test Script.au3' file located in the install folder. If not, try it and see if you get an error.
2. Have you manually recompiled the file 'AutoIt Debugger.exe'? If so, what version of AutoIt are you using?
3. Are you using #includes in your program?
4. Can you post the #include parts of you program so I can see if you are doing anything strange.
Thanks!
#68
Posted 17 November 2006 - 09:10 AM
That bit of the code is related to extracting #include files for processing. I have tried debugging files with and without #includes and I cannot generate the error.
Could you answer the following questions to help me narrow down where the problem is
1. Have you tried debugging the 'Test Script.au3' file located in the install folder. If not, try it and see if you get an error.
2. Have you manually recompiled the file 'AutoIt Debugger.exe'? If so, what version of AutoIt are you using?
3. Are you using #includes in your program?
4. Can you post the #include parts of you program so I can see if you are doing anything strange.
Thanks!
1. debug of 'Test Script.au3' is OK.
2. No recompilation of the file 'AutoIt Debugger.exe'. BTW, I use the latest beta.
3. I use the following #include in my program:
#include <WindowsConstants.au3>
#include <GUIConstants.au3>
#Include <GuiStatusBar.au3>
#Include <GuiListView.au3>
#include <GuiTreeView.au3>
#include <Misc.au3>
#include <Array.au3>
#include <file.au3>
#include <Date.au3>
#Include <sqlite.au3>
#Include <SQLite.dll.au3>
#include "Include\DirWalk.au3"
#include "Include\GuiHyperLink.au3"
#include "Include\GuiToolbar.au3"
#include "Include\Events.au3"
Note that the last 4 point to a subdir. I don't want to move them to the AutoIt Includes dir because they are personalized for my program.
4. Not enough free space for attachments. Send me a PM or email with your email address and I'll send you the program source code and Includes.
#69
Posted 21 November 2006 - 02:51 PM
~A~
#70
Posted 08 December 2006 - 11:46 PM
Changes:
1. Added debug enable/disable feature. Adding the line ';AutoIt_Debugger_Command:Disable_Debug' to disable debugging and the line ';AutoIt_Debugger_Command:Enable_Debug' to re-enable debugging. This is useful when debugging large files.
2. Fixed problem converting #Include files when used within #Include files. @gcriaco, this fixes the problem that you are experiencing.
#71
Posted 09 December 2006 - 12:23 AM
I installed for the first time and tried to open a bunch of scripts that started with "#include <IE.au3>", indeed I tried to open a file that had that single line and in each case got a popup with the following:
Line 0 (File "C:\Program Files\AutoIt3\AutoIt Debugger\AutoIt Debugger.exe"): If (Not $bSkipLine) And (Not $bSkipBlock) And (Not $bUserSkipBlock) Then If (Not $bSkipLine) And (Not $bSkipBlock) And (Not ^ ERROR Error: Variable used without being declared.
Dale
#72
Posted 09 December 2006 - 12:51 AM
I get the same error with a simple test script of my own.Has this been discussed before? If so, my apologies.
I installed for the first time and tried to open a bunch of scripts that started with "#include <IE.au3>", indeed I tried to open a file that had that single line and in each case got a popup with the following:
Line 0 (File "C:\Program Files\AutoIt3\AutoIt Debugger\AutoIt Debugger.exe"): If (Not $bSkipLine) And (Not $bSkipBlock) And (Not $bUserSkipBlock) Then If (Not $bSkipLine) And (Not $bSkipBlock) And (Not ^ ERROR Error: Variable used without being declared.
Dale
SciTE for AutoItDirections for Submitting Standard UDFs
Don't argue with an idiot; people watching may not be able to tell the difference.
#73
Posted 09 December 2006 - 06:45 PM
Oops. Have fixed the bug and uploaded a new version (v0.10.1). Link in the first post again.Has this been discussed before? If so, my apologies.
I installed for the first time and tried to open a bunch of scripts that started with "#include <IE.au3>", indeed I tried to open a file that had that single line and in each case got a popup with the following:
Line 0 (File "C:\Program Files\AutoIt3\AutoIt Debugger\AutoIt Debugger.exe"): If (Not $bSkipLine) And (Not $bSkipBlock) And (Not $bUserSkipBlock) Then If (Not $bSkipLine) And (Not $bSkipBlock) And (Not ^ ERROR Error: Variable used without being declared.
Dale
Thanks, Stumpii
#74
Posted 28 April 2007 - 03:09 AM
#75
Posted 28 April 2007 - 04:41 PM

any ideas?
#76
Posted 28 April 2007 - 05:16 PM
but its good
Edited by thenewkid, 28 April 2007 - 05:17 PM.
#77
Posted 28 April 2007 - 05:53 PM
I have installed this on my work desktop and my home desktop without problems. But when I tried to install it on my laptop I got the following error dialog when I tried the test.au3 file in the debugger directory.
any ideas?
Do you have the latest version? I fixed that bug a while ago, so you should not see it in the current version.
Stumpii
#78
Posted 29 April 2007 - 04:21 PM
Do you have the latest version? I fixed that bug a while ago, so you should not see it in the current version.
Stumpii
Lastest version of which program? autoit or the autoitdebugger. I *think* I have the most recent version of both. In in anycase I installed on my work and home desktop and on my laptop from the same files. Why would it work on two machines and not on the laptop. I am checking right now t and going to download both the most recent versions of scite,autoit and the autoit debugger just to insure that they are all the most recent. I really do think that they are.
#79
Posted 29 April 2007 - 07:24 PM
Lastest version of which program? autoit or the autoitdebugger. I *think* I have the most recent version of both. In in anycase I installed on my work and home desktop and on my laptop from the same files. Why would it work on two machines and not on the laptop. I am checking right now t and going to download both the most recent versions of scite,autoit and the autoit debugger just to insure that they are all the most recent. I really do think that they are.
The newest version of the debugger has been setup to run the program associated with the 'Run' command for .au3 files. The old version ran the 'autoit3.exe' program in the beta folder. If you did not have the beta installed, you would get that error. Do you have problems running scripts when right clicking an au3 file and clicking 'Run'?
#80
Posted 30 April 2007 - 01:14 AM
The newest version of the debugger has been setup to run the program associated with the 'Run' command for .au3 files. The old version ran the 'autoit3.exe' program in the beta folder. If you did not have the beta installed, you would get that error. Do you have problems running scripts when right clicking an au3 file and clicking 'Run'?
ok my fault Stumpii. I must have copied and old version from my flash drive to this laptop. I just downloaed and installed the version from the web site and did not ge the error
sorry for bothering you
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users





