Page 1218 - Kitab3DsMax
P. 1218

Part XII: MAXScript and Plug-Ins
                                                 l  Break: Causes the current script to break out of its execution
                                                 l  Run: Starts the execution of the current script
                                                 l  Evaluate: Executes the command entered into the Command field
                                                 l  Watch: Opens the Watch Manager window where you can specify distinct variables to watch
                                                 l  Config: Opens the MAXScript Debugger Parameters dialog box where you can configure the
                                                    debugger
                                                 l  Stop: Halts the execution of the current script
                                                 l  Clear: Clears all the text in the Output field
                                        FIGURE 49.9
                                      The MAXScript Debugger lets you check the values of variables as the script runs.











                                             Watching variables
                                             The Watch button opens the Watch Manager, shown in Figure 49.10. Clicking the Variable column lets
                                             you type in a new variable to watch. The Value column displays the value of the listed variables as the script
                                             is executed.

                                        FIGURE 49.10
                                      The Watch Manager lets you watch the value of specific variables.













                                             Using debugger commands
                                             Once the execution of a script has been halted by clicking on the Break button, you can enter specific com-
                                             mands in the Command field at the top of the debugger and click the Evaluate button to execute them.
                                             Table 49.1 lists the available debugger commands.


                                      1170
   1213   1214   1215   1216   1217   1218   1219   1220   1221   1222   1223