The Continue option
In the last section, we used the Step Out option until we reached the next statement after the call of the GetNextNo
function. We will continue debugging the code from that point, but using the Continue option.
With the Continue option, the execution of the code continues until:
- A breakpoint is reached.
- We click on the Break option again.
- An error occurs.
Now, click on the Continue option in our example and see what happens.
In the Code part of the debugger, we keep seeing the code we had before the Continue option was clicked. But the yellow arrow that showed us the current line is not there anymore. At the top of the preceding screenshot, we can read that the debugger is now waiting for a break.
The execution of the code has continued, a new bank account has been created, the user gets back the control of the execution, and the debugger is waiting for a new breakpoint.
You can use this option if you don't need to follow the code line by line and want to...