debug
Flashbug 1.5 Details
Just wanted to write about some of the new features coming in Flashbug 1.5. First off I’d like to say thanks for making Flashbug as popular as it is. It’s not even a public extension and it’s already gotten over 3,000 downloads! I know that’s not a lot compared to others, but that’s a milestone for me =) .
As for Flashbug 1.5, it’s pretty much feature complete at this point and just want to test it some more before putting it up on AMO. Some of the new features you can look forward to are:
Flashbug – An extension for Firebug
- Compatibility: Firebug 1.05 (Firefox 2), 1.3 (Firefox 3), 1.4 (Firefox 3.5), and 1.5 (Firefox 3.6)
- File Size: About 55Kb
- Change Log
BETA Channel Update – 1.6.4 RC2
- RC1
- Better error message when unable to clear log file
- Correctly Clear log file
- Fix mm.cfg location on setups where My Documents is placed different than default
- RC2
- Fixed mm.cfg location on Vista (regression)
- Fixed Ubuntu Trust File
- Updated Player Version display
What’s New
- Fixed SharedObject discovery bug
- Fixed Mac OSX mm.cfg location, for real this time
Description
This will display any traces from any .SWFs running currently (in Firefox or outside of Firefox). All the traces are displayed in a Flash Console tab in Firebug. You can search using the search box in Firebug to highlight any matches. Another added feature is line highlighting and icons for errors, warnings, and info traces. Finally, for any urls that appear in the traces, you can right-click on them to open them in a new tab.
Like FlashTracer, it is required to have the Flash Player Debugger installed or you will not see any traces. Flashbug will tell you the version of Player detected on your system. If you do not have the Debug version, it will give you a link to download it.
Unlike FlashTracer there is no need to configure the flashlog.txt or mm.cfg files. This is all handled in the background by Flashbug so you can just get straight to working.
You can now open either the Trace or Policy log directly from Flashbug. This is to help allow people who want to either export or copy the raw traces directly.
Also new is the Shared Object inspector. This works by listening to all the SWFs that are loaded for the page you are on. It then checks based on the domain against the Shared Objects stored on your computer. If it finds any, it will list them in this panel.
Each row will list a Shared Object found, which you can expand to see the data stored within. You can also right click to open the file directly, if you have an editor installed. Or you can copy the path to the file, or even open the containing folder.
Finally, there is AMF decoding added to the Net Panel of Firebug. This is available only for Firebug 1.4+. If you visit a site that relies on remoting for data transfer you can now inspect the AMF Request being sent to the server. To do this, find the row in the Net Panel that is the AMF Request, and expand it. Once expanded you will see an AMF tab, clicking this will display the AMF message in it’s entirety for you to inspect.
Features
- Utilizes Firebug’s built in search feature – When you search for any words in the logs, the words will be highlighted in real-time.
- Displays Trace logs – Displays the traces emitted from all Flash instances playing in any browser.
- Displays Policy logs – Displays the policy log traces emitted from the Flash Player. These traces usually occur when using cross-domain policies or loading assets from a different domain.
- Automatically setup Debug Player for logging – In FlashTracer you were required to manually configure the log file location. This is now handled automatically by the extension.
- Configure Debug Player settings – The Flash Player itself can be configured to trace out data differently. Those options are available in the preferences window.
- Trace filters – There are a few builtin filters to display your traces differently. If you want to trae an error, it will be traced out in red with an error icon. If you want to trace XML, using the xml keyword, Flashbug will format the xml in a readable and colored format. Below is the list of keywords currently built into Flashbug. In the future I plan on making this customizable.
- @@XML@@ : Formats it into ‘pretty’ XML with coloring
- @@HTML@@ : Same as XML
- @@INFO@@ : Displays a blue information icon to the left
- @@WARNING@@ : Background is a teal with an warning icon to the left
- @@ERROR@@ : Background is a light red with an error icon to the left - Built-in Links – Any URLs that are detected in the traces will be dot underlined. You can then right-click on them to open that URL in a new tab or copy the location to the clipboard.
- Read SharedObject – Read any Shared Objects associated with a page. You can inspect them just like object in Firebug.
- (For Firebug 1.4+) Read AMF/Remoting Request/Response Data – View AMF data sent to and from the page to the server.