• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 20. Debugging Common Errors > Following Variables While a Script is Run...

Following Variables While a Script is Running

A script may not have an error that matches any of the messages in the previous section, but it still might not run correctly. This is often due to a logic error, where the syntax may be fine but the script itself has a problem, as in Script 20.6. Modifying the script so that the variables can be viewed while the script is running helps track down logic errors. Figure 20.11 shows how you can use an alert box to display contents of script variables.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint