LogWatcher as a cross-platform Flash debugger in Eclipse
Posted on 24th June 2010 in Developer tools, Eclipse, Flash, Open Source Software | No Comments »
LogWatcher is the kind of open-source Eclipse plugin that enables hooking a view of a certain log file to the Eclipse IDE. It comes in handy for open-source AXDT Flash development plugin of Eclipse that currently (at version 0.0.7.1) doesn’t have a built-in debugger and is yet to receive it in milestone 0.1.0.
In order to deploy LogWatcher for Flash debugging follow the below steps:
- Make sure Flash Player Debugger is installed. If not, download it. Debug player is installed if the right-click menu on a Flash content has the Debugger option.
- Enable Flash Player Debugger logging to the file:
- Locate mm.cfg in your home directory:
/Users/username/mm.cfgon MacC:\Documents and Settings\username\mm.cfgon Windows/home/username/mm.cfgon Linux
- Open it and ensure that mm.cfg has
ErrorReportingEnable=1 TraceOutputFileEnable=1
- Locate mm.cfg in your home directory:
- Download LogWatcher plugin for Eclipse from SourceForge
- Unpack the zip file and copy the org.graysky.eclipse.logwatcher_x.x.x.x folder to plugins folder of your Eclipse installation
- Restart Eclipse
- Choose Window > Show View > Other > Log Files > LogWatcher to open the view
- In the LogWatcher view, locate the Create New Watcher button and click it
- For Select a file to watch locate the path to flashlog.txt:
/Users/username/Library/Preferences/Macromedia/Flash Player/Logs/flashlog.txton MacC:\Documents and Settings\username\Application Data\Macromedia\Flash Player\Logs\flashlog.txton Windows/home/username/macromedia/Flash_Player/Logs/flashlog.txton Linux
There are many alternatives to LogWatcher that work outside Eclipse, e.g. Arthropod and De MonsterDebugger offering a more comprehensive debugging functionality. More about them and the AXDT plugin in future posts.
Related resources:
- Eclipse IDE
- AXDT
- Graysky Plugins For Eclipse
- Flash Player Debugger
- De MonsterDebugger AIR-based open-source debugger for Flash Platform
- Arthropod AIR-based Flash and AIR debugger
Related articles:

