Stepping Into and Over Functions

To locate a bug in your code you can divide the script into discrete functions and debug each function separately. One way to do this is with the following commands on the Debug menu:

Step Into
Step through the function one line at a time, executing the current line in the active script or in a file that is called by the active script. This action is available only if the execution has stopped at a breakpoint. If the current line contains a function call, control passes into the function and the execution stops at the first statement in the function.
Step Over
Speed up debugging if you know a particular function is bug-free, executing the current line of code in the active script or in a file that is called by the active script, without stepping into any functions called by the current line. The execution stops at the next statement. This action is available only if the execution has stopped at a breakpoint.
Finish Function
Execute the script until the current function returns. Silk Test Classic sets the focus at the line where the function returns. Try using Finish Function in combination with Step Into to step into a function and then run it.