Flashbug – An extension for Firebug

Friday, October 2nd, 2009 | Projects


Version 1.6.3, Updated March 30, 2010
  • 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

Download Flashbug 1.6.3 from Add-ons for Firefox


Submit Bug Reports / Feature Requests




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.

Trace Log

Trace Log

Policy Log

Policy Log

Preference Window

Preference Window

FAQ

  • Whats this ‘flush file error’?
    This occurs when Flashbug is trying to delete a file. This may happen when you try to clear the log or save your Flash Player preferences (clears the mm.cfg file). The reason this might fail is if the file is open in another program. This can happen if the Flash IDE is open sometimes because it writes to the log as well. Another reason it might fail is due to the permissions assigned to the file. I’ve updated the permissions used in 1.6.4. So if you have this issue, please try out the beta and let me know if this fixes your problem.
  • How do I use Flashbug?
    If you’re new to Flashbug it might be a bit daunting. But in reality it’s as easy as using the trace window in Flash. Below is a short guide to help you get started.

    After you install Flashbug (make sure you have Firebug installed as well or Flashbug won’t work) go to the ‘Flash Console’ tab. If the tab is grayed out, enable the tab. This is usually done by a drop down arrow located inside the tab. Once enabled you’ll see a ‘Trace Log’, ‘Policy Log’ and ‘Shared Objects’ button.

    The ‘Trace Log’ button shows the traces currently written to the trace log file. (Flash Player writes all traces from all running swfs to a single file. So unfortunately this will display traces for your other tabs as well.) This works exactly like the Trace window in Flash. All of your traces will be displayed in this area.

    The ‘Policy Log’ button shows you anything that occurs that might require cross-domain permissions. It will show if SWF files loaded successfully or if there were any errors. Or if Flash Player was unable to find a crossdomain.xml file. This is useful if you ever try to load a file from a different server and it’s not working. You can check this log to see if Flash is blocking it and not that your code is incorrect.

    Finally, the ‘Shared Objects’ button displays any shared objects (Flash cookies) related to the site you’re viewing in the current tab. How this works is by listening for any swfs that are loaded in the page. It then checks to see if there are any shared objects associated with that swf, if so, it displays it here. It does NOT update in real time, so please use the ‘Refresh’ button to view any changes.

Change Log

Flashbug 1.6.3 for Firebug 1.05 (Firefox 2), 1.3 (Firefox 3), 1.4 (Firefox 3.5), and 1.5 (Firefox 3.6) (March, 30, 2010)

  • Fixed SharedObject discovery bug
  • Fixed Mac OSX mm.cfg location, for real this time

Flashbug 1.6.2 for Firebug 1.05 (Firefox 2), 1.3 (Firefox 3), 1.4 (Firefox 3.5), and 1.5 (Firefox 3.6) (March, 23, 2010)

  • Fixed Mac OSX save pref bug

Flashbug 1.6.1 for Firebug 1.05 (Firefox 2), 1.3 (Firefox 3), 1.4 (Firefox 3.5), and 1.5 (Firefox 3.6) (March, 19, 2010)

  • Fixed duplicate traces bug
  • Fixed localhost SharedObjects bug

Flashbug 1.6.0 for Firebug 1.05 (Firefox 2), 1.3 (Firefox 3), 1.4 (Firefox 3.5), and 1.5 (Firefox 3.6) (March, 12, 2010)

  • Fixed directory locations – Problematic for non-English users or Mac users
  • Cleaned up JavaScript
  • Copy changes
  • Updated OSX mm.cfg location
  • (For Firebug 1.4+) Read AMF/Remoting Response Data
  • Added support for Flex/BlazeDS Classes
  • Updated JS Player version detection
  • Updated Player version display
  • Updated mm.cfg creating conditions

Flashbug 1.5.0 for Firebug 1.05 (Firefox 2), 1.3 (Firefox 3), 1.4 (Firefox 3.5), and 1.5 (Firefox 3.6) (October 30, 2009)

  • Fixed regex expression for urls
  • Fixed regex expression for urls in xml
  • Fixed multiline XML with blank lines from AIR apps
  • Fixed multiline XML traces not showing up
  • Can now open the log file directly
  • Read SharedObject
  • (For Firebug 1.4+) Read AMF/Remoting Request Data

Flashbug 1.0.0 for Firebug 1.05 (Firefox 2), 1.3 (Firefox 3), 1.4 (Firefox 3.5), and 1.5 (Firefox 3.6) (October 9, 2009)

  • Initial release
  • Displayed trace log
  • Displayed policy log
  • Log search highlighting
  • Display XML as an object

Need Help?

Feel free to e-mail me a question. When you e-mail your question, please include pictures (if applicable) that clearly demonstrates the problem and provide a brief explanation.

Author: Gabriel Mariani, (e-mail: gabriel -at- coursevector.com)
Copyright 2010, CourseVector (This work is subject to the terms here.)

Tags: , , , ,

91 Comments to Flashbug – An extension for Firebug

[...] Flash开发工具阵营又有新成员,FlashBug作为对FireBug插件的扩展,是专门为Flash/Flex开发者设计的。你再不需要通过调用JavaScript来利用FireBug的Console功能,FlashBug可以自动捕捉SWF中的trace()及警告信息。唯一的要求是你的Firefox需要安装有Debugger版本的Flash Player。 [...]

sayhelen
October 8, 2009

what’s your plan for the compatibility with firefox 3.5?

gabriel
October 8, 2009

What do you mean? It works with Firefox 3.5, that’s what I’m using right now. Are you having problems?

[...] Flash开发工具阵营又有新成员,FlashBug作为对FireBug插件的扩展,是专门为Flash/Flex开发者设计的。你再不需要通过调用JavaScript来利用FireBug的Console功能,FlashBug可以自动捕捉SWF中的trace()及警告信息。唯一的要求是你的Firefox需要安装有Debugger版本的Flash Player。 [...]

Ant
October 10, 2009

my flashbug can’t trace anything . my firefox is 3.5.3, debugplayer is 10.0.32.18. ths.

gabriel
October 12, 2009

If you run into any issues please list the following:

The version of Firebug you have installed.
The version of Firefox you are using
The Flash Player according to Flashbug (as written on the Flash Console panel). If that is unavailable check against PlayerVersion.com

Ant, on the Flash Console tab, does it say that you are using a debug player? If so, please check the Firefox Error Console (Ctrl-Shift-J) and tell me if you see any javascript errors in regards to Flashbug. Finally, what extensions are you using so I can try to duplicate your Firefox profile (and hopefully the bug). thanks

Ant
October 13, 2009

thank you for your reply…flashbug console show my flashplayer is “PlayerVersion :WIN 10.0.32.18(Debug player)”.
and firfox Error Console not show anything js errors…my firebug is 1.4.3…

gabriel
October 13, 2009

What extensions are you using? Also how are you trying to use Flashbug? Does it open fine, no visible errors? Are you sure the pages you’re visiting have traces?

David
October 13, 2009

Doesnt work for me as well, i am having the exact same problem as Ant it seems.

Addons: Colorzilla, Firebug, FireRainbow, Flashbug, Html Validator, Java Quick Starter, MeasureIt, Microsoft .Net Framework Assistant, Web Developer, Xmarks

Firefox 3.5.3

“PlayerVersion :WIN 10.0.32.18(Debug player)”.

David
October 13, 2009

it seems to be working now, i rebooted my computer, and restarted firefox without saving my tabs.

gabriel
October 14, 2009

I think your issue might have been with the Flash Player. When Flashbug runs for the first time on a computer that hasn’t been configured for traces before, it’ll create a config file. But Flash Player may not recognize the config file until all instances of the Flash Player have been restarted. Usually this just means restarting the browser(s). But glad to hear it’s working for you now.

313
October 19, 2009

Awesome Tool! I have since replaced FlashTracer with your tool, and have not looked back!
Keep up the brilliant work, looking forwarded to future enhancements. ^_^
Works well for me in PC FF v2 & v3.5 and Mac FF v3.0
Regards!

DRayX
October 24, 2009

Awesome Tool. This is way better than FlashTracer.
Couple quick feature requests though (not even sure they are possible):
1. A lot of the time, I would like to know where flash objects are pulling their resources from (such as videos or images when not compiled into the swf), would it be possible to add like a load log that would display the urls of files that are loaded?
2. I noticed the trace log only shows traces from the root-level swf object, would it be possible to have it also display traces from any swfs called by the original one (that sort of run in the background)?
3. The ability to dump the log to a file would be great.
If these features were added, it would make your plugin the single greatest thing since the advent of the tubes (well maby not the greatest, but close). Anyways, keep up the good work, and I can’t wait to see the final product.

gabriel
October 26, 2009

@DRayX

1. You can already view this by going to the Net panel in Firebug and selecting the Flash filter. This will show all FLV’s, and SWF’s being loaded in. There isn’t an api to detect anything else that was loaded specifically from a SWF so you just have to know what you are looking for in the Net panel.
2. The trace log should show traces from ALL swfs (including swfs playing in other browsers). The way the trace log works is it’s a single text file used by any instance of the Flash Player. Flashbug isn’t doing anything specific to grab the traces from each swf.
3. Technically this is already dumped in a file but I can see about making it either open the log file directly or save it out somewhere.

Shane Hoffa
October 28, 2009

Whats up man! Great extension! How hard would it be to allow the @@XML@@ to also format XMLLists or single nodes?

gabriel
October 28, 2009

I’d have to look into it. Right now the XML is passed into Firefox’s internal XML parser to see if it’s valid before continuing. I can see if there is another way around that.

Les
November 9, 2009

Great plugin! I use it daily.
I have one question, is it possible to clear the trace log when I refresh the browser? I find my self clearing everytime I refresh / retest the flash application.

gabriel
November 10, 2009

Hmm maybe, I’ll have to see what functionality is available in Firebug/Firefox

Jason
November 10, 2009

Very cool add-on. I’m running OS X 10.6.2, Firefox 3.5.5, Flash debug player 10,0,32,18, Firebug 1.4.5, and Flashbug 1.5.0. In order to get the logging working, I had to move the mm.cfg file:

mv ~/mm.cfg /Library/Application\ Support/Macromedia/mm.cfg

I hope that is helpful.

gabriel
November 11, 2009

Excellent, thanks for the tip. Don’t have a Mac so my testing is limited.

Nico
November 18, 2009

Im using Flash Debug Player 10.0.32.18, Firebug 1.4.5 and Firefox 3.5 on Windows XP. Firefox error panel ist empty and Firebug shows the Flash Console tab, but it is disabled and stays that way. I previously had Flash Tracer installed and logging worked fine. If I delete the log-files manually they are recreated in the same place when I start Firefox again. Any ideas?

gabriel
November 19, 2009

I know it’s obvious but did you try enabling the panel?

Nico
November 20, 2009

Yeah I tried this, but I don’t know how I should do this exactly. There is no small arrow like in the other tabs (because this arrow only appears when you select them) and opening the tab doesn’t work. It highlights the tabs outline, but clicking has no effect.

Joe G
December 1, 2009

Where’s the flashbug console? I don’t see anything for flashbug except for the extension and it’s options. Running FF 3.5.5 and FLASG WIN 10,0,32,18 (Debug player)

gennadij polikarpov
December 5, 2009

Hi, Gabriel
Great Add-On
But do you know what is the name of “Application Data” folder in Germany? “Anwendungsdaten”!!! This is the problem of Nico and me. Danke dir fuer FlashBug :)

Rick Noel
December 8, 2009

I am trying to get a trace of from this url http://v3.player.abacast.com/player/player.php?pid=maverickmedia_kxfxfm

Not seeing any trace data.

I am using
Firefox 3.3.3
Firebug 1.4.5
Flash Player with debuger WIN 10,0,32,18(Debug player)

any ideas?

Firebug 1.4.5

abahlk
December 17, 2009

Hello,
your plugin is great. But i have one problem.
But i have one problem. If i use stage.focus = xyz this do not work. I get the focus if i click on the stage but after this i lose the focus. After deactivating vour plugin, anything is allright.
Firefox: 3.56 Flashbug 1.50 and the latest flash player with debuger.
But now when i think about it. Today i installet the new Firefox 3.56. maybe this it is, because i think the last days i havent the problem … bad memory
sorry for my bad english.

Andreas
December 20, 2009

@gennadij polikarpov and Nico

You are running Windows XP?
Try to create a junction named “Application Data” that points to “Anwendungsdaten”. That fixed the firebug panel for me.
http://de.wikipedia.org/wiki/Symbolische_Verkn%C3%BCpfung#Abzweigungspunkte

I think MS changed the folder structure in Vista and 7 so this step may not be necessary on these systems, but on XP…

Das dicke Uetli
December 21, 2009

Hello,

I have this problem: Firebug works fine without Flashbug But when I install and activate Flashbug, I can run Firebug, but nothing is shown in its window. No content, nothing :-(

My system:
Windows XP
Firefox 3.5.6
Flash Debug Player 10,0,32,18
Firebug 1.4.5
Flashbug 1.5.0

If you gave me some help as a gift for christmas, I would be thankful ;-)

Best regards from Switzerland,
Christian

pz
December 21, 2009

thanks

gabriel
December 22, 2009

So I think the underlying issue is that Flashbug is trying to guess where the mm.cfg file goes to make it easier to setup. But I only configured it for en/us setups. Maybe the next step would be to create localized versions of Flashbug that would be configured for Swiss/German/etc setups. Are the folders all named the same except for Application Data?

And yes, sorry for not having any updates sooner. But where I work, the holiday season is super busy. When things slow down (probably in January) i’ll be able to give some attention back to Flashbug. Sorry for the wait!

gennadij polikarpov
December 25, 2009

Frohe Weihnachten!
Merry Christmas!
@Andreas
Your variant is sure OK
2. variant:
replace “Application Data” with “Anwendungsdaten” in lib.js and solReader.js
@gabriel
we have Anwendugsdaten, Lokale Einstellungen, Netzwerkumgebung,…

Mem's
December 30, 2009

Take care with trace filters flags with XML. Only multiline XML works :
trace(“@@XML@@\nTest 1\n”)
trace(“@@XML@@Test 2″)
Only the first is displayed

And if you trace an empty XML
trace(“@@XML@@”);
This produce an XML parsing error “No element found”

Pericius
December 30, 2009

Does not show anything.

Windows 7 64 bit, Firefox 3.5.6, Firebug 1.4.5, Flashbug 1.5.0, Flash Player Debug, 10.0.42.34.

Anyone has any clue?

[...] is a simple example. Press the up arrow on your keyboard. Also enable firefox flashbug to see the traces) source: here. (exampled saved as [...]

Joseamola
January 13, 2010

I installed de Flash Debugger, and next the Flashbug, but it doesnt work.
In the firebug I can see the console flash but it’s inactive. How can I activate it__

Walter Bese
January 14, 2010

The tip from Andreas totally worked for me, just be sure, you take the “Anwendungsdaten” folder o the right user.
for my machine, the complete commandline was
linkd “C:\Application Data” “C:\Dokumente und Einstellungen\\Anwendungsdaten”
where , of course, is to be replaced by the user you are logged in with.
Also watch that the Firefosx instance that you use for installing the plugin uses the correct profile.
Last but not least, when you copy the above command line to your dosbox, the quotation marks can get corrupted. They might still look like quotationmarks, but dos will alsways tell you the correc tusage of linkd.exe ;-)

Before: Installation worked, when opening Firebug, plain grey was shown
After: Everything works as intended

Walter Bese
January 14, 2010

somehow, in my last post, the line got damaged, so here again
linkd “C:\Application Data” “C:\Dokumente und Einstellungen\username\Anwendungsdaten”

Max Strebel
January 22, 2010

Hi there, to make it easier – Walter Bese is perfectly right! But because I hat to search a lot for the files, here are the paths to “lib.js” and “solReader.js” where “Application Data” hast to be replaced with “Anwendungsdaten” on swiss/german/austrian systems:

C:\ Dokumente und Einstellungen \ USERNAME \ Anwendungsdaten \ Mozilla \ Firefox \ Profiles \ XXXXXXX.default \ extensions \ flashbug@coursevector.com \ chrome \ content \ flashbug

Thanks for the good help.

Barrett
January 25, 2010

Windows Server 2003
Firefox 3.6
Firebug 1.5
Flashbug 1.5

On start:
TypeError: dir is null

When I change the add-on options:
TypeError: dir is null
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsILocalFile.initWithPath]” nsresult: “0×80004005 (NS_ERROR_FAILURE)” location: “JS frame :: chrome://flashbug/content/lib.js :: anonymous :: line 237″ data: no]

Dave
February 3, 2010

I am unable to active the “Flash Console” tab! It displays this in the “Console” tab:
Firebug.FlashbugModel.solReader is null
Filtered chrome url chrome://flashbug/content/flashbug.js
flashbug.js (line 1368)

Which is this line:
Firebug.FlashbugModel.solReader.initContext(this, this.context);

Windows XP
FireFox 3.6
FireBug 1.5.0
FlashBug 1.5.0

Adobe Flash 10.0.42.34 Debugger Version

What is the problem here?

Rene
February 10, 2010

Great job!! Thank you for all your hard work on this add on it is very useful.

ONE BIG QUESTION:
Could you tell us more on why the AMF reponse can’t be decoded. You mention you don’t have access to the AMF binary response. Is that a limitation on firebug or firefox? Please let us know. Thank you again.

James
February 15, 2010

Firebug: 1.5.0
Firefox: 3.6, Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729)
Flash Player: WIN 10,0,42,34 (Debug player)
YSlow 2.0.6
All other extension are disabled.

Problem: Nothing is displayed in Firebug when Flashbug is enabled. Everything is enabled when Flashbug is dissabled.

Shiki
February 18, 2010

Hi! I’m testing this out on Mac OSX 10.5.8, FF 3.5.8. Firebug 1.5.0. Player version: MAC 10,0,32,18 (Debug player).

I don’t see anything on Trace Log at all. :( Is there supposed to be something written in the ~/mm.cfg file? It’s empty for me here.

Thanks!

Shiki
February 18, 2010

Wait, it worked! I just edited ~mm.cfg and added this:

ErrorReportingEnable=1
TraceOutputFileEnable=1

Thanks for this great plugin!

jalex
February 25, 2010

HOMEDRIVE=H: bug USERPROFILE is c:\doc… (normal)

This plugin works well on my Mac but fails on my windows PC (corp. image). I think the method of identifying the mmdir is not using USERPROFILE for some reason and fails to find the dir. My mm.cfg works fine and the trace log is in the default win location. I can continue using the log for now, but I like the plugin. Thanks!

“TypeError: dir is null”
Windows XP
Flash Debug Plugin 10,0,42,34
Mozilla 3.5.8
Firebug 1.5.2

drpunchman
March 5, 2010

I love it! … would love it even more if I could get it to work properly.
(OSX 10.5.8 & FF 3.5.2)
It works (reads/writes to the log) great when I am testing swf files locally, but doesn’t work when I publish my files online?

[...] sort of flash dev, I highly suggest you get your hands on one (or both) of these tools: FlashBug [ get it ] or FlashTrace [ this too ] (eitherway you will need the flash debugger [ need it ]). If you are [...]

[...] stumbled across this fantastic little tool Flashbug.  Features include Displays Trace, Read AMF/Remoting Request Data and Reads SharedObject. Very [...]

[...] Flashbug; debug Flash content within Firefox via Firebug. [...]

[...] after checking out FlashBug, I think I am going to start using it for debugging.  It has some neat features.  I like that you can pretty print xml and html.  The error and warning icons are nice too.  You [...]

chris
March 12, 2010

This is so great that i made a donation! It will help a lot.
I have one question, how can you clear the log file of all the trace output? Or where is
the log fie located for a Mac?

Thanks
Chris.

gabriel
March 12, 2010

@chris

First off, thanks!
You can clear the log output be clicking on the ‘clear’ button. Also the location of the log file on a mac is located here: /Users/username/Library/Preferences/Macromedia/Flash Player/Logs/flashlog.txt

But if you just click on the ‘open’ button it will open the log file directly for you.

[...] Neato! If you understood the title then you should know enough to check this out. http://blog.coursevector.com/flashbug/ [...]

Jon Toland
March 18, 2010

Shared Objects don’t work for localhost or ports. The localhost problem is described under “Specifying a path”:

http://livedocs.adobe.com/flex/3/html/help.html?content=lsos_3.html

Here’s the patch to HttpObserver.addDomain():

var domain = getPrettyDomain(href);
var portIndex = domain.lastIndexOf(“:”);
if (portIndex != -1) {
domain = domain.slice(0, portIndex);
}
if (domain == “localhost”) {
domain = “#” + domain;
}

I couldn’t even trace that method from Local File System so I assume it errors out before then. Also I didn’t see anything conspicuous in Flashbug.SOLReader#refresh() but when I click your Refresh button I get my same Shared Object properties even though I know they’ve changed and verify that when I refresh the page?

Fantastic work I use this :)

Renan
March 19, 2010

Something went wrong with this 1.6 update, i’m on Windows 7, Firefox 3.6, firebug 1.5.3, flash player version WIN 10.0.45.2 (Debug player) and it seems that the traces are repeating. When I open the log txt the traces are fine, but in the plugin they are repeating all over again after each trace.

gabriel
March 19, 2010

@renan and @jon
Both have been fixed in 1.6.1 which I just uploaded to Mozilla today.

edi
March 22, 2010

i get this error when trying to save the preferences:

[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIProperties.get]” nsresult: “0×80004005 (NS_ERROR_FAILURE)” location: “JS frame :: chrome://flashbug/content/lib.js :: anonymous :: line 153″ data: no]

Has anyone else come across this?

Mac OSX 10.5.8, Firefox 3.5.8, Firebug 1.5.3, Flashbug 1.6.0, Flashgot 1.2.1.17, FoxyProxy Standard 2.19.1, Web Developer 1.1.8

gabriel
March 23, 2010

Thanks edi, there was a stray space in my code. I’ll be putting up 1.6.2 up on Mozilla today. I’ll also try to put it in the beta channel as well so you guys can get the update sooner. Since approval takes so long.

giraph
March 24, 2010

Hy,
Here my plateform :
Windows 7
Mozilla/5.0 (Windows; U; Windows NT 6.1; fr; rv:1.9.2) Gecko/20100115 Firefox/3.6
Flash Player: WIN 10,0,45,2 (Debug player)
Firebug 1.5.3
FlashBug 1.6 or 1.6.2 (both tried)
All other extensions are disabled.

I can edit flashlog.txt and see content in Flah console. I can also Clear falshlog.txt
Problem: I can’t see any trace while running my swf (build with Eclipse/Flex)

Could you help me please ?
Thanks

giraph
March 25, 2010

Hy again,
After re-install, the flash concole works fine now. But I can’t clear it ! It says :

Flush File Error:[Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFileOutputStream.init]” nsresult: “0×80520015 (NS_ERROR_FILE_ACCESS_DENIED)” location: “JS frame :: chrome://flashbug/content/lib.js :: anonymous :: line 54″ data: no]

I can’t neither see Policy logs and shared objects.
Could you help me please ?

Here my plateform :
Windows 7
Mozilla/5.0 (Windows; U; Windows NT 6.1; fr; rv:1.9.2) Gecko/20100115 Firefox/3.6.2
Flash Player: WIN 10,0,45,2 (Debug player)
Firebug 1.5.3
FlashBug 1.6 or 1.6.2 (both tried)
All other extensions are disabled.
Thanks

Fin
March 25, 2010

Hi There,

Mac OS 10.5.7
FF 3.6.2
Have latest flash debug flayer installed
Flashbug is not working
I suspect it has something to do with mm.cfg file – i don’t know what it is, what to do with it or where to put it. According to Flashbug I shouldn’t need to worry about it?
Any help or guidance would be much appreciated.

Best
Fin

gabriel
March 25, 2010

What version of Flashbug are you using? 1.6.2 fixed an issue with Mac OSX.

User
March 27, 2010

I don’t see any AMF responses or requests. FF3.5.8, FireBug1.5.3 and FlashBug1.6.2 Flash 10,0,45,2

ex. http://cfbugs.adobe.com/ I don’t get anything in the trace log at all.

gabriel
March 27, 2010

@User

I’ve emailed you about your problem

garyv
March 29, 2010

I’ve installed the flash debugger, flashbug, and firebug, but I am not seeing any flash traces in the flash console panel. It is reporting that it sees the debug flash player “Player Version:MAC 10,0,0,45,2 (Debug player)”. I’m not confident that it is pointed to the right .txt file for flash traces, and there seems to be no setting to check or change it.

lululau
March 29, 2010

Mac OS X 10.6.2, FF3.6.2, Firebug1.5.3, FlashBug1.6.2rc Flash 10,0,45,2 debug version.
get nothing in the trace log and policy log.

gabriel
March 29, 2010

I think I have an idea of whats going on with the Macs. Flash Player has an awesome idea that the mm.cfg can be located in two places. If it doesn’t find it in one place, it should look in the other. Apparently that isn’t happening and is affecting a lot of people. Hopefully if time permits during the week I’ll have another update to resolve this issue as well. So please bear with it for the time being.

lululau
March 29, 2010

yes, after copying mm.cfg to path “/Library/Application Support/Macromedia/”, my issue was fixed

lululau
March 30, 2010

Sorry, actually I copied mm.cfg from /Library/Application Support/Macromedia/ to ~/Library/Application Support/Macromedia/.

ason0356224
April 5, 2010

I setup the flashbug.
It will create file mm.cfg in d:/

How I replace the default path of “mm.cfg ”

WinXP sp3
FireFox 3.6.3
Firebug 1.5.3
Flashbug 1.6.3

waiting for your answer /email

pr0ximus
April 22, 2010

If you have problems with trace it is probably bacause the latest version of Flash Player is not supported by this addon. So you can use older Flash Player 9 and it works well.

gabriel
April 23, 2010

Actually the latest (10.1 RCs) do have debug versions. Keep in mind that Flashbug isn’t ‘supported’ by anything other than Firefox/Firebug. Flashbug reads a text file created by the Flash Player. If the file isn’t being created, that’s the Flash Players fault not necessarily Flashbugs. Always remember to use the debug version of the player or the log file won’t be created.

cnoflash
April 24, 2010

Firefox 3.6.3
Firebug 1.5.3
Flashbug 1.6.3
Adobe Flash Player Version:WIN 10,0,45,2 (Debug player)

The Trace Log is empty.

I’m getting a pop-up window with this error when I try to change preferences:
[Exception... "Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsIFile.parent]” nsresult: “0xc1f30001 (NS_ERROR_NOT_INITIALIZED)” location: “JS frame :: chrome://flashbug/content/lib.js :: anonymous :: line 144″ data: no]

alanglais
April 25, 2010

wasn’t working with flash debugger 10 (since nothing was written in flashlog.txt) I switched to flash debugger 9.0 and now everything works fine.

Nice job thanks a lot for your help towards developpers comunity. This is and will remain trully appreciated!

William Brown
April 26, 2010

I get the following error poping up in a panel when I enable the FlashBug extension and I open a browser window. How do I get rid of this problem? I am running Ubuntu. Thanks very much!
_____________________________________________________
Adobe Flash Player has stopped a potentailly unsafe operation.
The following local application on yru computer or network: /home/bbrown/.mozilla/firefox/adnust2d.default/extansions/flashbug@coursevector.com/chrome/content/flashbug/version.swf
is trying to communicate with this Internet-enabled location:
chrome:/browser/content/browser.xul


________________________________________________________

[...] Flashbug Una estensione Firebug per Flash. Visualizza tutte le esecuzione. File SWF output di analisi. Richiede Flash Player Debugger per funzionare correttamente. AMF anche visualizzare i dati da e verso il server. Richiede Firebug 1.4 +. [...]

elgwiedo
May 6, 2010

Gabriel.
In an existing application we want to use SharedObjects. I was fiddling with an existing script (because I never saw the SharedObjects in the FlashBug panel). But even with the existing script , I don’t see any SharedObjects.
My system is a Windows7 – 64 bit machine. The applications will run on Windows 2000, Windows XP and Vista machines. Any idea why I don’t see the defined SharedOBjects ?

micha
May 6, 2010

Log gets not cleared:

“Flush File Error:[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIFileOutputStream.init]” nsresult: “0×80004005 (NS_ERROR_FAILURE)” location: “JS frame :: chrome://flashbug/content/lib.js :: anonymous :: line 54″ data: no]”

FF 3.6.3
Firebug: 1.5.3
FlashPlayer: 10,0,45,2 (debug version, obviously :) )

traces work though. Although i must admint that i don’t see any difference in using this than in using the console directly. Arrays and Objects still are “Stringed”. Or did i miss sth here ?

gabriel
May 10, 2010

As far as the log not getting cleared, one issue that was happening for someone else turned out to be pretty simple. When you try to clear the log file (a text file) if anything else is accessing/reading that file, Flashbug can’t clear it. So if you have say notepad open viewing the log, or another browser that is actively writing to it, Flashbug might not be able to clear the file.

@micha
Don’t get me wrong here, the trace panel is just that. It displays the log, much like the console did. Advantages for Flashbug lie in XML color/formatting, Policy Log display, SharedObject inspector, and AMF inspector. So if you’re cool just using the console by all means use the tool that works best for your workflow.

@william brown
This occurs when Flashbug displays, it loads a really small SWF to detect the player version. It *SHOULD* have written a trust file to avoid you seeing this message. Maybe the location I had was wrong for Linux. I’ll check it out.

@elgwiedo
The SharedObjects tab is strictly for the current page you’re viewing. If you want to ability to inspect any SharedObject I’d suggest you use .minerva (also located on this blog) for that.

alvaro
May 20, 2010

Hi,
Thanxs a lot for this add-on to fireBug :)

I read what you wrote above about clear log file, but even without the file opened, i can’t clear the log, and the message still appears:

“Flush File Error:[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIFileOutputStream.init]” nsresult: “080004005 (NS_ERROR_FAILURE)” location: “JS frame :: chrome://flashbug/content/lib.js :: anonymous :: line 54 data: no]”

My setup is:
FF 3.6.3
Firebug: 1.5.4
FlashPlayer: 10,0,45,2 (debug version)

If i close FF and Firebug i can delete the file and clear the log.
Any thoughts about this?

Thanxs

[...] Flashbug is a Firebug extension for Flash. It displays all the running .SWF file trace output. Requires Flash Player Debugger to work properly. Also display AMF data to and from the server. Requires Firebug 1.4+. [...]

Sebastian
June 3, 2010

I have the same problem as alvaro.

I installed the plugin and it worked fine for a few hours, then the error occured.

Sebastian
June 4, 2010

It is possible to clear policyfiles.txt but not flashlog.txt. When

[...] les requêtes envoyées au serveur. Il y a enfin une extension pour FireBug qui s’appelle FlashBug, qui permet de lire facilement les traces que vous aurez mis dans dans votre code [...]

Sebastian
June 11, 2010

My problem was solved by using http://www.sos.powerflasher.com/ once. Strange, but thats how computers work, right?

starflash
June 14, 2010

Firefox: 3.0.11
FlashPlayer: WIN 10,0,45,2(Debug player)
Firebug: 1.4.5
Flashbug: 1.6.3

No logs, please help me.

Fin
June 16, 2010

Hi there,

I desperately need Flashbug to work on my Mac. I’ve tried troubleshooting with no luck. I’m wondering if anyone else has issues. I’m using Flashbug 1.6.3 – which apparently has some mac fixes. Should it just work? Of do files need to be configured separately or moved around somewhere?

Max OS X 10.6.3
Debug Player MAC 10,0,45,2

Help! Many thanks

[...] Flashbug是一款基于FireBug的火狐插件,这给利用Flex SDK开发程序的人带来了便利。以前只能用FDB命令行来调试,现在有了Flashbug就更直观了。 [...]

N
July 8, 2010

Wasn’t working for me until i created mm.cfg, look here http://yourpalmark.com/2005/07/01/trace-from-the-browser-using-standard-trace/

Gabriel
July 12, 2010

@N

In the future it would help to give me details. Flashbug automatically creates that file. There was obviously a problem with it creating it, so it would help me if i know what OS, Firefox, etc you are using. If you could, please file a bug report.

http://code.google.com/p/flashbug/issues

- gabe

Leave a comment

Please upgrade your Flash Player To submit a comment, you must have Flash Player 9.0.0 or higher installed. I use a flash form here to help prevent spam.

Search