Sign in to follow this  
Followers 0
philkryder

I would like to have timestamps on autoIT traces

3 posts in this topic

#1 ·  Posted (edited)

Sometimes I would like to know how long execution of individual AUTOIT statements take.

To do this,

I've used TRACE: ADD TRACE LINES from the tools menu,

and then used REPLACE all on the 

ConsoleWrite('>Error code: ' ...

to change to 

ConsoleWrite(@hour & '_' & @min & '_' & @sec & '>Error code: ' ...

Is there an easier way to obtain the elapsed time for AUTOIT statements?

or,

Alternatively, 

Is there a way to modify the lines that are inserted by TRACE: ADD TRACE LINES?

thanks!

Phil

Edited by philkryder

Share this post


Link to post
Share on other sites



This file implements TraceAdd() function.

C:Program FilesAutoIt3SciTELUAAutoItTools.lua

Good luck :)

1 person likes this

Share this post


Link to post
Share on other sites

This file implements TraceAdd() function.

C:Program FilesAutoIt3SciTELUAAutoItTools.lua

Good luck :)

thanks for the luck and the Tip! that was a big help. I was able to change the debug.trace.option to 3 and then trace contains :

 SystemTime: 12:35:13

Share this post


Link to post
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
Sign in to follow this  
Followers 0