TOC PREV NEXT INDEX

 


Runtime Error Handling


An example of a runtime error is an attempt to read a non-existent variable. TclPro Debugger detects all runtime errors, including both those caught and those not caught by a Tcl script. How TclPro Debugger handles runtime errors depends on the Error settings that you specify for your project. (See "Changing Project Error Settings" for more information on specifying your project Error settings.) If you have set:

When TclPro Debugger detects a runtime error in accordance with the rules above, it stops execution of your application and displays a dialog box such as the one shown in Figure 18.

Figure 18 The TclPro Debugger Tcl Error Dialog

You have the choice of either delivering the error or suppressing the error:

While your application is stopped, you can examine your Tcl script, view and change variable values, set breakpoints, and use all the other features of TclPro Debugger. If you single-step or run your application without first selecting whether to deliver or suppress the error, TclPro Debugger delivers the error if your application catches it and suppresses it otherwise.




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