Page 1 of 1

Best ways to debug ones script

PostPosted: Thu Mar 14, 2019 7:13 am
by RichDG
Morning all.

What is the best ways to examine a script?

I mean, how do you guys debug a script?

Thanks

Re: Best ways to debug ones script

PostPosted: Fri Mar 15, 2019 10:37 am
by eValid
RichDG wrote:Morning all.

What is the best ways to examine a script?

I mean, how do you guys debug a script?

Thanks


Thanks for posting RichDG.

The way we do this is with the eValid dashboard, described here:

http://e-valid.com/Products/Documentati ... board.html

Note that there is a little Right Arrow following a vertical bar that is called the "Single-Step Playback".

You can click this or toggle F7 on your keyboard.

Each single step executes one command and pauses playback waiting for your instructions.

We have found that is a great idea to have the Event Log open on the screen so that you see the immediate effect of each step because eValid writes into the event log everything it did in processing the command.

One thing to be aware of is this: single-stepping may interfere with synchronization.

That is, if you single-step through a script you are running slower than normal...and the concern is that in a full-speed playback you might de-synchronize, whereas in single-step mode your script is perfect!


Hope this helps!

-- eValid Support