Flash player debugger in ubuntu

How to flash debug player in Linux

After a long time i am working on Flex for one of client for his one to one chat application. At this time i need flash debugger for debugging my program. The debug player need for to print trace() output to flashlog.txt.

Here the steps for how to install debug flashplayer in ubuntu 10.04 firefox 3.6.

Steps:

  • Download the debugger version from here . Or Download this Zip file for Linux http://download.macromedia.com/pub/flashplayer/updaters/10/flashplayer_10_plugin_debug.tar.gz
  • Extract that zip file and get that “libflashplayer.so”
  • Goto this folder “/usr/lib/mozilla/plugins” then copy and  paste that libflashplayer.so here. Then Delete the shortcut named “flashplugin-alternative.so”
  • Create a mm.cfg file in your home directory. For example /home/<USER>/mm.cfg
  • The mm.cfg file is look like the below

ErrorReportingEnable=0
TraceOutputFileEnable=1
MaxWarnings=0

Then restart your firefox now you can found flashlog.txt file in

cd $HOME/.macromedia/Flash_Player/Logs/

folder.

Update on 19th October 2011:

  • Download the debugger version from here. Then extract that libflashplayer.so
  • Copy that so file to /usr/lib/mozilla/plugins/ dir
  • Then replace the soft link by the following command
sudo ln -fs /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/mozilla/plugins/flashplugin-alternative.so
Its works with my Firefox 7.0.1 in ubuntu 11.04

No related posts.

Leave a comment ?

13 Comments.

  1. Compiling ActionScript 3.0 with Sublime Text 2 - Clock Blogs - pingback on December 5, 2011 at 10:41 am
  2. Its working. Thanks Arul.

  3. Another possibility with ubuntu using update-alternatives:
    after
    – Extract that zip file and get that “libflashplayer.so”
    - create a new directory: /usr/lib/flashplugin-debugger (you nned to be root)
    mv /libflashplayer.so /usr/lib/flashplugin-debugger/.
    sudo update-alternatives –install /usr/lib/mozilla/plugins/flashplugin-alternative.so mozilla-flashplugin /usr/lib/flashplugin-debugger/libflashplayer.so 120
    120 is the priority. It should be > 50 which is the default priority for the flashplugin (at least in ubuntu)
    restart mozilla
    et voila!

  4. Figured it out. I was on Firefox 3.6. Updated to 4.1 and now everything works. I was trying to get Flash Player Debug 10.3 running on Ubuntu 10.10.

  5. As soon as I remove flashplugin-alternative.so, Firefox loses the flash plugin. Anyone have any insight? I’ve got the libflashplayer.so moved to the mozilla/plugins directory.

  6. Ok I never saw a “flashplugin-alternative.so” in the plugins folder located in /usr/lib/mozilla/plugins. Is that ok?

  7. Doesn’t work for me.
    I have to overwrite /usr/lib/flashplugin-installer/libflashplayer.so with debugger version. Hope it will help.

Leave a Comment


Trackbacks and Pingbacks: