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

Lesson 19. Testing and Debugging > Finding and Fixing Run-Time Bugs

Finding and Fixing Run-Time Bugs

You've made it through the process of exporting an application without a compile-time error. So far, so good. But as you begin to work with the exported application, you discover that it's just not working properly. Perhaps displayed data is not correct, text and graphics onscreen are not positioned correctly, or when you press a button that's supposed to send information to the server, nothing (or the wrong thing) happens. These kinds of bugs are known as run-time bugs because they're not obvious until the application is run and put through the ringer.

Run-time bugs typically result from spelling or logic errors, such as mistakenly referring to a movie clip instance named miMovie_mc instead of myMovie_mc, or using a less-than operator (<) rather than the intended greater-than operator (>) in a conditional statement. Or a function might contain a script that's logically but not syntactically faulty, so that when executed the function has a very bad effect on the rest of the application.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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