Specifications
228
CHAPTER 11
The following example shows the types of logging you can do in the appropriate environment:
To use client-side debugging utilities such as the
trace() global method and client-side data services logging, you
must install and configure the debugger version of Flash Player. This is described in “Using the debugger version
of Flash Player” on page 228. The debugger version of Flash Player is not required to log compiler messages or
web-tier compiler messages.
Using the debugger version of Flash Player
The debugger version of Flash Player is a tool for development and testing. Like the standard version of Adobe
Flash Player 9, it runs SWF files in a browser or on the desktop in a stand-alone player. Unlike Flash Player, the
debugger version of Flash Player enables you to do the following:
• Output statements and application errors to the debugger version of the Flash Player local log file by using the
trace() method.
• Write data services log messages to the local log file of the debugger version of Flash Player.
• View run-time errors (RTEs).
• Use the fdb command-line debugger.
• Use the Flex Builder debugging tool.
• Use the Flex Builder profiling tool.
Note: Any client running the debugger version of Flash Player can view your application’s trace() statements and
other log messages unless you disable them. For more information, see
“Suppressing debug output” on page 52.
Development
environment
Client
(Debugger version of Flash Player
or AIR Debug Launcher)
Web application server
●
The trace() method
●
Logging API
●
Client-side data services
●
Web-tier compiler
●
Server-side data services
●
Web application server
●
Command-line compiler
●
Flex Builder compiler










