What are the options for stepping through code?- Stepping is one of the most common debugging procedures. - One line of code is executed at a time. When the execution is halted, such as running the debugger to a breakpoint, following are the commands:
1. Show next statement
2. Step into If any line contains a function call, the execution of the Step Into will call itself, it then halts at the first line of code inside the function else it executes the next statement.
3. Step over If any line contains a function call, Step Over will execute the called function, and then it halts at the first line of code inside the calling function else Step Into executes the next statement.
4. Step out Step Out will resume the execution of the code until the function returns and then it breaks at the return point in the calling function.
|