Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
In this section you create the Debugging App project in Flash Builder and take a look at setting breakpoints for specific lines in source code.
The following steps will guide you through using the Flash Debug Perspective. First take a look at utilizing breakpoints in the Source view.
FIGURE 6-1: New Flex Mobile Project panel for the Debugging App in Flash Builder
LISTING 6.1: Adding the <s:Button> and <s:Label> components to a <s:VGroup> container in DebuggingAppHome.mxml
<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
title=“Debugging App”>
<s:VGroup paddingLeft=“20”
paddingRight=“20”
paddingTop=“20”>
<s:Label id=“testLabel”/>
<s:Button id=“testButton”