TOC PREV NEXT INDEX

 


Stepping to Result


Stepping to Result executes the current command and stops execution. After using Step to Result, TclPro Debugger highlights the command just executed and displays the result and return code of that command in the Command Results display of the debugger main window.

The Step to Result feature is useful for examining the results of nested commands. For example, suppose you click Step In at line 3 in the following application:


1 source someFile.tcl
2 set x 1
3 myProc [incr x 5]
4 puts $x

If you click Step to Result, your application executes the subcommand and stops. You can then examine the result of the subcommand before continuing. By comparison, clicking Step In again at this point would execute the subcommand [incr x 5] and immediately Step In to myProc, and clicking Step Over would execute both the [incr x 5] subcommand and the call to myProc before stopping.




http://www.ajubasolutions.com
Voice: (650) 210-0100
Fax: (650) 210-0101
support@ajubasolutions.com
TOC PREV NEXT INDEX