win2k Posted August 1, 2006 Posted August 1, 2006 Is there a way in scite to step through each line of code?
Moderators SmOke_N Posted August 1, 2006 Moderators Posted August 1, 2006 (edited) [sarcasim]SciTe + F5 or Alt+F5 [/sarcasim] Edited August 1, 2006 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
win2k Posted August 2, 2006 Author Posted August 2, 2006 [sarcasim]SciTe + F5 or Alt+F5 [/sarcasim] Funny, now that i read what i wrote i deserve that. I meant more like after one line of code happens the script halts, hit a button it reads the next line of code. I am trying to hook a control and i wanted to see where the cursor ends up at before text goes in it. I mean i could just make a giant comment block for everything after that, but...
Paulie Posted August 2, 2006 Posted August 2, 2006 Funny, now that i read what i wrote i deserve that. I meant more like after one line of code happens the script halts, hit a button it reads the next line of code. I am trying to hook a control and i wanted to see where the cursor ends up at before text goes in it. I mean i could just make a giant comment block for everything after that, but...Sure, do this ;Code Line 1 Sleep(5000) ;Code Line 2 Sleep(5000) ;Code Line 3 Sleep(5000) ;Code Line 4 Sleep(5000) ;Code Line 5 Sleep(5000)
herewasplato Posted August 3, 2006 Posted August 3, 2006 ...i wanted to see where the cursor ends up at before text goes in it...I would put an "exit" right above the code sending the text you mentioned-or-slow the script down using AutoItSetOption settings for WinWaitDelay and SendKeyDelay [size="1"][font="Arial"].[u].[/u][/font][/size]
zeroZshadow Posted August 3, 2006 Posted August 3, 2006 he means like an debugger kan step tru the code, nice idea. *If u thought life couldn't get worse, u meet me *<guy> What would you give my little sister to unzip ?<friend> 10 bucks<guy> No, i mean like Winzip...
zeroZshadow Posted August 3, 2006 Posted August 3, 2006 well there is no buildin compiler option as far as i know so maby you can post the idea in ideas to together with a option to watch your variables *If u thought life couldn't get worse, u meet me *<guy> What would you give my little sister to unzip ?<friend> 10 bucks<guy> No, i mean like Winzip...
FeReNGi Posted August 3, 2006 Posted August 3, 2006 it would be very nice if such a thing exist like in the kixtart scripting tool ServicesPE|LoadVMDK
Paulie Posted August 4, 2006 Posted August 4, 2006 A debugger would be hard to make, because each script needs it's own special way of debugging, and you'll have to make the script know how to edit the code to make like a tooltip ot msgbox catch each variable and display it to use it as a debugger as far as i know, debuggers are too individual to write a script to automate
zeroZshadow Posted August 4, 2006 Posted August 4, 2006 thats not what i mean. its another way of compiling. it compiles the script first the runs line 1 waits for you to press a button and goes to the next and so on meanwhile you can see the values of all the variables (displays NULL if its not made yet, but is being used in the code) sort of debug mode. this would be really handy to find bugs. *If u thought life couldn't get worse, u meet me *<guy> What would you give my little sister to unzip ?<friend> 10 bucks<guy> No, i mean like Winzip...
Skruge Posted August 4, 2006 Posted August 4, 2006 Look here: http://www.autoitscript.com/forum/index.php?showtopic=21834 [font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font]
zeroZshadow Posted August 4, 2006 Posted August 4, 2006 lol, thanks for the link. i think thats just whats needed XD *If u thought life couldn't get worse, u meet me *<guy> What would you give my little sister to unzip ?<friend> 10 bucks<guy> No, i mean like Winzip...
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