Stepping Over
Stepping over causes the application to stop just before executing the next command after the current command in your application is fully executed. The Step Over feature is useful for following the application as it progresses through a body of code at the current stack level. For example, suppose you are stopped on line 1 in the following application
1 source someFile.tcl
2 set x 1
3 myProc [incr x 5]
4 puts $x
If you Step Over the source command, the application stops at set x 1. If you continue to click Step Over, myProc [incr x 5] becomes the new current command, followed by puts $x.
The following list describes the rules of behavior for the Step Over function:
- If the current command is a call to an instrumented procedure, the application stops before the executing the next command after the procedure returns.
- If the current command is a call to the source command, the application stops before the executing the next command after the code in the sourced file is evaluated.
- If the current command is the last one at the current stack level or in the current body of code, Step Over behaves like Step Out.
http://www.ajubasolutions.com Voice: (650) 210-0100 Fax: (650) 210-0101 support@ajubasolutions.com |