Stepping Out
Stepping out causes the application to stop before executing the next command after the current stack level or body of code returns. The Step Out feature is useful for backing out of code you are no longer interested in inspecting. For example: if you are stopped in the body of the myProc procedure in the following application
1 source someFile.tcl
2 myProc [incr x 5]
3 myNextProc $x
and you would like to progress to the myNextProc $x command, you can Step Out of the myProc procedure, and then Step In the myNextProc procedure.
The following list describes the rules of behavior for the Step Out function:
- If the current command is in the body of a procedure, the application stops before executing the next command after the procedure returns.
- If the current command is at the global level of a file that has been sourced, the application stops before executing the next command after the code in the sourced file is evaluated.
- If the current command is at the global level of the main script file, clicking the Step Out button behaves like clicking Run button.
http://www.ajubasolutions.com Voice: (650) 210-0100 Fax: (650) 210-0101 support@ajubasolutions.com |