Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
In this section you'll finally take a look at how to fix the error in the Debugging App project.
If you recall, an error occurs because the conditional if statement, which requires i to equal 5, is never executed, and labelStr remains null. So when it is assigned to the text property on the <s:Label> component the application errors.
Step through code is a term used to describe examining source code, usually line by line. In Flash Builder the Debug panel provides the tools to step through each line of code, allowing you to see what happens before and after a line of code has been executed.
Stepping through Code in the Debugging Session
The following steps will take you through fixing the error in the code example about handling the error introduced in the Debugging App project, using the UncaughtErrorEvent class.