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

  • Nico

    Works for me. TY

  • Pingback: Compiling ActionScript 3.0 with Sublime Text 2 - Clock Blogs()

  • Siva

    Its working. Thanks Arul.

  • sacketty

    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!

    • http://www.arulraj.net/about Arul

      Hi sacketty.. thanks for your info..

  • Junise
    • http://www.arulraj.net/author/admin Arul

      For me its downloading.. May be your firewall block this url :(

  • dzimney

    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.

  • dzimney

    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.

  • reprog

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

  • http://www.arulraj.net/2010/08/flash-player-debugger-in-ubuntu.html boltmatt

    Cant paste it

    • http://www.arulraj.net/author/admin Arul

      I think u have permission problem… Try to copy that file using terminal with sudo command…

  • http://coreinnovationslab.com avladev

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

    • http://shifteleven.com pope

      The steps work great, with one caveat. I just use @avladev’s location for the libflashplayer.so .

      Cheers