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

Part I: Foundation > Debugging

Chapter 6. Debugging

Bugs are a fact in any programming. Even if you could write code that—by itself—was bug-free, outside influences can cause your movie to fail. Such basic issues as the user’s computer configuration, the operating system, the browser, and even the Flash player all have some bugs. You don’t need any help creating bugs, of course, because if you’re human, you’ll create many on your own. Actually, you, not the underlying software, will likely be the source of most bugs. A bug can be a flaw in your flow of logic or an error in the syntax of an expression. Regardless, bugs will crop up with unpredictable results that are invariably undesirable.

Debugging, or finding bugs and fixing them, poses an interesting dilemma. The premise of debugging is that you (the one who created the bug in the first place) are supposed to uncover where the flaw in logic or syntax error appears. Naturally, this is quite difficult because it requires that you find a problem in a script you thought was perfectly logical and legitimate at the time you wrote it. Despite this difficulty, Flash has both practical methods and built-in features to help you squash bugs.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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