DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I step through functions in ScriptInclude

We have a library of functions that we include with the "ScriptInclude" command. While single stepping with the debugger, the debugger will step through the functions in the included file. Anyone know a way around this? thanks
0 Kudos
Message 1 of 2
(3,654 Views)
Hi Tony!

If you WANT to single-step (using "Step into") through functions that your script calls, then the VBS file containing those functions should be open in the DIAdem-SCRIPT editor. When you "Step into" those functions from your script, the DIAdem-SCRIPT debugger will display the file and show the yellow execution-arrow for you.

If you DO NOT WANT to step through those functions, then don't open that particular VBS in DIAdem.

I hope things are going well for you and Jacob!

David Mc.
NI Applications Engineering
Message 2 of 2
(3,654 Views)