In the code

  • just add trace(…) calls as you would add printf of System.out.println calls

The plugin

  • first you will need the debugger version of the plugin. In ubuntu the plugin can be found in /usr/lib/firefox/plugins which is usualy a link in /etc/alternatives which links to the actual plugin.
root@black:/home/len# ls -l /usr/lib/firefox/plugins/total 8628lrwxrwxrwx 1 root root       37 2008-04-27 22:43 flashplugin-alternative.so -> /etc/alternatives/firefox-flashpluginroot@black:/home/len# ls -l /etc/alternatives/firefox-flashplugin lrwxrwxrwx 1 root root 99 2008-05-01 17:33 /etc/alternatives/firefox-flashplugin -> /phantom/linux/Adobe_Flex_Builder_Linux/Player/linux/install_flash_player_9_linux/libflashplayer.so
  • you can always check your plugins with about:plugins
  • then you will need to create a file ~/mm.cfg
ErrorReportingEnable=1TraceOutputFileEnable=1
  • then you can do a tail -f
tail -f .macromedia/Flash_Player/Logs/flashlog.txt
  • you need to restart firefox in order for the mm.cfg to be read
  • adobe link