The Step Over option
In the last section, we used the Step Into option until we reached the first statement of the GetNextNo
function. We will continue debugging from that point, but using the Step Over option, as shown in the following screenshot:
If you press F10 a few times, you will see that the debugger stops on each statement, just as the Step Into option does.
The seventh statement of the function is a call to the SetNoSeriesLineFilter
function. If you use the Step Over option on that statement, the debugger will execute all the code inside the function without stopping and will stop on the first statement after the function call, that is, the next statement in the current function.
Use this option when you already know the code that executes inside the function and you know that the function that is going to be called does not contain the bug you are looking for.