win2k 0 Posted August 1, 2006 Is there a way in scite to step through each line of code? Share this post Link to post Share on other sites
SmOke_N 210 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. Share this post Link to post Share on other sites
win2k 0 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... Share this post Link to post Share on other sites
Paulie 26 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) Share this post Link to post Share on other sites
herewasplato 2 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] Share this post Link to post Share on other sites
zeroZshadow 0 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... Share this post Link to post Share on other sites
win2k 0 Posted August 3, 2006 Yeah thats what i meant zero Share this post Link to post Share on other sites
zeroZshadow 0 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... Share this post Link to post Share on other sites
FeReNGi 0 Posted August 3, 2006 it would be very nice if such a thing exist like in the kixtart scripting tool ServicesPE|LoadVMDK Share this post Link to post Share on other sites
Paulie 26 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 Share this post Link to post Share on other sites
zeroZshadow 0 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... Share this post Link to post Share on other sites
Skruge 2 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] Share this post Link to post Share on other sites
zeroZshadow 0 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... Share this post Link to post Share on other sites