Stepping out

From m204wiki
Jump to navigation Jump to search

If you no longer want to continue debugging a subroutine, method, or daemon that you are currently debugging, you can discontinue debugging and "step out" and resume debugging on the statement following the statement that originally called the subroutine, method, or daemon.

This would be equivalent to having set a breakpoint on the statement after the subroutine, method, or daemon call, then clicked the Run button. You might also view it as a "pop" out of the level of code you are debugging and to the level of the calling code.

To execute a Step Out, select Step Out from the Execution menu, or use stepOut, the command equivalent.

If you step out from mainline code (that is, not a subroutine, method, or daemon), execution simply completes normally, as if you had clicked the Run button.