MACROMEDIA FLEX BUILDER-USING FLEX BUILDER Use Manual page 90

Table of Contents

Advertisement

Review the information about the application up to the breakpoint in the Results panels.
4.
Flex Builder provides you with the following information:
The Variables panel
data types, you can edit a value and your change will take effect immediately on the next code
step. Curly brackets ({}) denote complex data types.
Tip: You can add a listed variable to the Watch panel by right-clicking it and selecting Add to
Watch Panel from the context menu.
The Watch panel
watch, click in the Name column of the panel and enter the variable's name. You can also
specify a variable by right-clicking a variable in the Variables panel and selecting Add to Watch
Panel from the context menu.
The Call Stack panel
For example, the first function called is at the bottom of the list. You can double-click a
function to jump to it in the script; Flex Builder updates the information in the Variables panel
to reflect the new location in the script.
The Output panel
Help from the context menu in the panel.
If you want to set breakpoints in any other file used by your application, such as custom classes
5.
and internal Flex classes, do the following:
Click the Files button on the debugging toolbar and select the internal file from the list.
After the internal file opens in Code view, set one or more breakpoints in the file.
Restart the debugger.
If you want to return to Code view to fix a bug, click the Stop button in the debugging toolbar.
6.
Because Code view is read-only during debugging, you must stop the debugger to fix a bug.
To continue stepping through the code, do any of the following:
7.
To step to the next breakpoint, click the Continue button in the debugging toolbar, or press
Control+5.
To step into a function, click the Step In button on the debugging toolbar, or press
Control+6.
To step over a function, click the Step Over button on the debugging toolbar, or press
Control+7.
To step out of a function, click the Step Out button on the debugging toolbar, or press
Control+8.
Note: You can also use the Debug menu for all these tasks.
90
Chapter 3: Creating, Coding, and Debugging Flex Files
shows the names and values of all variables up to that point. For simple
lets you monitor the value of variables you specify. To specify a variable to
shows a list of all the functions called to that point, in the order called.
displays runtime errors, warnings, and traces. For more information, select

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flex builder

Table of Contents