Jump to content

Create "breaks" in script for validation


dew
 Share

Recommended Posts

I use to use an "old" program called Visual Test (by Microsoft v1 and then Rational v3). In their scripts I was able to inserts 'breaks' in order to watch each section I was testing.

My question is, is there a similar function in AutoIt where I can set a break point and then continue to the next break point?

thanks ahead time,

dew

Link to comment
Share on other sites

I use to use an "old" program called Visual Test (by Microsoft v1 and then Rational v3). In their scripts I was able to inserts 'breaks' in order to watch each section I was testing.

My question is, is there a similar function in AutoIt where I can set a break point and then continue to the next break point?

thanks ahead time,

dew

Can you explain what a break point in the script was? Wast it just line in the script where it stopped untill you said continue like a debugger can for example?

And were the breakpoints fixed or do you want to you change them to be what you want at any time in which case it sounds like you need a debugger.

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

Can you explain what a break point in the script was? Wast it just line in the script where it stopped untill you said continue like a debugger can for example?

And were the breakpoints fixed or do you want to you change them to be what you want at any time in which case it sounds like you need a debugger.

martin,

Yes, it is a debugger where you set a break point (program stops). I would like to either go on or quit the program at this point or at the next break point.

Link to comment
Share on other sites

martin,

Yes, it is a debugger where you set a break point (program stops). I would like to either go on or quit the program at this point or at the next break point.

There are a couple of debuggers which will do what you want that I know of.

One by Stumpii.

You need the .net framework for Stumpii's.

And one by me with a link in my signature, written to work without .net.

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

There are a couple of debuggers which will do what you want that I know of.

One by Stumpii.

You need the .net framework for Stumpii's.

And one by me with a link in my signature, written to work without .net.

Thanks for the help, I'll check your routine out and update you later.

Link to comment
Share on other sites

I know it may not be the best solution, but if I need a script to stop while I'm debugging it, I just use a message box. You can always kill the script if it's not working as expected.

Kerros===============================================================How to learn scripting: Figure out enough to be dangerous, then ask for assistance.

Link to comment
Share on other sites

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