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