Dave Carabetta Blog Banner


December 28, 2006

Getting the Flash Tracer Plugin To Work With The Latest Flash Player Release


I've mentioned previously that I'm a fan of using the awesome Flash Tracer plugin with Firefox to debug my Adobe Flex applications. However, the latest Flash Player release by Adobe, 9.0.28 as of this writing, broke the plugin.

For a while, I just downgraded to the 9.0.16 version of the Flash Player that comes with the Flex Builder installer because that worked without issue. However, tonight I decided to investigate a bit further what exactly was breaking the plugin. As it turns out, it's relatively simple. To make the Flash Player compatible with Microsoft Windows Vista, Adobe changed the location of the flashlog.txt file that the debugger player writes to. It can now generally be located in this directory (on Windows machines...I don't have a Mac to test with unfortunately):

C:\Documents and Settings\[username]\Application Data\Macromedia\Flash Player\Logs

Make sure a file call flashlog.txt exists in that directory (if not, just create an empty file with that name in Notepad), open up the Flash Tracer plugin, select the Options button in the lower right of the pane, and paste in the new location in the "Select output file" box, making sure that flashlog.txt is appended to the end. Now restart Firefox and you should be all set. I have had no issues with the 9.0.28 release since this change.

I honestly can't say enough about the productivity increase this plugin has afforded me since coming across it. If you're having problems, using the above instructions should sort them out.

Update: My co-worker, Keun Lee, passed on some helpful information to me with regard to getting the Mac version of the plugin to work and has given me permission to re-print it here:

[T]he tracer will tell you where to set the location of where your flash player debug log file is located. You'll need to be careful as the location is specified in a pretty non standard format.

Hope that helps out the Mac people!



Comments
ᅱzgr ALTAY's Gravatar Thanks for the tip Dave! I realized that flash player stop working after I've changed the output file destination. But I am not curious like you to find why it stopped :)

Luckily you bring out the reason of this.
# Posted By ᅱzgr ALTAY on 12/29/06 at 6:22 PM
Dave Carabetta's Gravatar Glad it helped!
# Posted By Dave Carabetta on 12/30/06 at 4:04 PM
Bernardo Kuri's Gravatar I keep getting this error when configuring this add-on under Firefox v2.0.0.1: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsILocalFile.create]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://trace/content/settings.js :: saveConfig :: line 149" data: no] What can one do to fix this? Thanks in advance!
# Posted By Bernardo Kuri on 2/15/07 at 10:36 PM
diego's Gravatar I have windows XP pro, Firefox 2.0.03, Flash player debug version 9,0,45,0, and i have changed in flash tracer addon the route to C:\Documents and Settings\*-user-*\Application Data\Macromedia\Flash Player\Logs\flashlog.txt, and i'm not able to make it work, I've tryed in my 3 pc's, so i don't know what i'm doing workg.

Thanks in advance
# Posted By diego on 4/20/07 at 7:15 PM
phil's Gravatar thank you thank you :)
# Posted By phil on 8/23/07 at 4:15 AM
Magdy's Gravatar it is not working, could any one tell me why ...
firefox 2.0.0.6, and windows 2003 server and flash player debug 9 r45
# Posted By Magdy on 9/5/07 at 10:52 AM
muriel's Gravatar In my case neither the file mm.cfg nor the flashlog.txt were generated. so what I did was:

1. creating a mm.cfg file in C:\Documents and Settings\<username> with the following content:
TraceOutPutFileName=C:\Documents and Settings\<username>\Application Data\Macromedia\Flash Player\Logs\flashlog.txt
ErrorReportingEnable=0
TraceOutputFileEnable=1
MaxWarnings=0

2. manually create an empty flashlog.txt in C:\Documents and Settings\muriel\Application Data\Macromedia\Flash Player\Logs

This worked fine for me.
# Posted By muriel on 9/11/07 at 1:54 PM
Phil's Gravatar If you're using Windows Vista, you can find your logfile at:

C:\Users\[USERNAME]\AppData\Roaming\Macromedia\Flash Player\Logs\flashlog.txt
# Posted By Phil on 10/4/07 at 1:58 PM
Ian's Gravatar Hi,
I have windows vista pro, flash debug player 9,0,47,0 installed and firefox 2.0.0.11. I changed the file path to:

C:\Users\{UserName}\AppData\Roaming\Macromedia\Flash Player\Logs\flashlog.txt

Seems to me strange to use Macromedia, because i also have

C:\Users\{UserName}\AppData\Roaming\Adobe\Flash Player\Logs\flashlog.txt

NOTE: since the folder "Logs" and the file "flashlog.txt" where not there yet i went ahead and made them myself.

I made a simple swf with trace("Hello World"); but it doesnt work.

What am i missing.

Thanks in advance!
# Posted By Ian on 12/3/07 at 9:25 AM
Don D.'s Gravatar I got it to work with Flash Player 9.0 r115 debug version from here: http://download.macromedia.com/pub/flashplayer/upd...

I'm running XP Pro and Firefox 2.0.0.11.

I followed muriel's directions above, but just for clarification:

1. I created the "Logs" directory in
C:\Documents and Settings\<username>\Application Data\Macromedia\Flash Player\Logs

2. I created the "flashlog.txt" file in the new "Logs" directory.

3. I created the "mm.cfg" file in
C:\Documents and Settings\<username>\
with each parameter on a separate line

4. I set the output file in Flash Tracer by browsing to it rather than pasting the file path into the field. This probably doesn't matter, but whatever.

5. I restarted Firefox.

It took me about 30 minutes to figure all this out. Hopefully you can get it working too.

Cheers.

--D.
# Posted By Don D. on 12/13/07 at 2:14 PM
Luke Grannis's Gravatar I've been unable to get flash to create the file in either the adobe\Flash Player\ directory or the Macromedia\Flash Player\ directory. I manually created the Log directories and the flashlog.txt files and altered the mm.cfg files accordingly, but to no avail. This is a huge problem because I had become hugely reliant on FlashTracer, especially for remoting.
# Posted By Luke Grannis on 2/7/08 at 1:29 AM

© Dave Carabetta, 2005-2010. This blog licensed under the Creative Commons License. Some rights reserved. This is a personal weblog. The opinions expressed here represent my own and not those of my employer. Blog software provided by Raymond Camden.