HallMarc Posted November 10, 2009 Share Posted November 10, 2009 Is here a way to step through a script line by line like I can do in Visual Studio? I've looked through add-in tools, and did not see anything. If this is not possibe, how can I get the status of each line as it is executed with out whriing a lot of extra code? Thanks in advance Link to comment Share on other sites More sharing options...
JohnOne Posted November 10, 2009 Share Posted November 10, 2009 http://www.autoitscript.com/forum/index.php?showtopic=105217 look in there mate AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
jvanegmond Posted November 10, 2009 Share Posted November 10, 2009 JohnOne is pretty correct, but basically you want this: http://www.autoitscript.com/forum/index.php?showtopic=21834 github.com/jvanegmond Link to comment Share on other sites More sharing options...
HallMarc Posted November 10, 2009 Author Share Posted November 10, 2009 Thanks for the quick replies!I'll have to wait till I get home to get the debugger. Downlod of exe's is blocked here at work I have some 150 registry etries tht I need to verify/modify and I need to find out which one(s) are gving me problems. Stumpii's debugger definately looks promising! BTW, where do you guys come up with this stuff????? Link to comment Share on other sites More sharing options...
JohnOne Posted November 10, 2009 Share Posted November 10, 2009 JohnOne is pretty correct, but basically you want this: http://www.autoitscript.com/forum/index.php?showtopic=21834Just found that myself and tried it, but got autoit errors when hit the debug button.I dont want to be pestering the author with emails though until I know if I'm doing something wrong.I'll try it again a few mor times first. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
jvanegmond Posted November 10, 2009 Share Posted November 10, 2009 I'll have to wait till I get home to get the debugger. Downlod of exe's is blocked here at work How dare they!!I have some 150 registry etries tht I need to verify/modify and I need to find out which one(s) are gving me problems.Many AutoIt programmers prefer to debug their programs with the ConsoleWrite command. They run the script from SciTE, and SciTE shows the output of the script. The idea is that you write a short text or you output a variable and do debugging the old fashioned way.BTW, where do you guys come up with this stuff?????A lot of lurking.Just found that myself and tried it, but got autoit errors when hit the debug button.I dont want to be pestering the author with emails though until I know if I'm doing something wrong.It has always worked for me in the past, but I did not try the latest version. I am not in a position to be able to test this, maybe ask around.. github.com/jvanegmond Link to comment Share on other sites More sharing options...
JohnOne Posted November 10, 2009 Share Posted November 10, 2009 Just found that myself and tried it, but got autoit errors when hit the debug button.I dont want to be pestering the author with emails though until I know if I'm doing something wrong.I'll try it again a few mor times first.Not certain if rapidshare links are allowed so I send you a pm with rared exe AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
TurionAltec Posted November 12, 2009 Share Posted November 12, 2009 If you're just looking to verify registry writes, you could use a function like this: Func _RegWrite ( $keyname , $valuename, $type, $value ) $return= RegWrite ( $keyname , $valuename, $type, $value) $error=@error ConsoleWrite($keyname &" "& $valuename &" "&$return & " "& $error &@CRLF) EndFunc And use search/replace to replace RegWrite in the main script with _Regwrite. If you want to run from a compiled EXE you can save it to a log file instead of consolewrite. Link to comment Share on other sites More sharing options...
HallMarc Posted November 12, 2009 Author Share Posted November 12, 2009 JohnOne, Sorry for the delay in the response - Thanks for the file - Blocked at work (bank) got it from home. TurionAltec: Nice idea. I will give that a try. I am already using a debug log and that will fit in nicely. Thanks 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