Debugging Flex applications with mm.cfg and flashlog.txt let us track trace statements and error messages for projects running in the browser using the debug mode. Since I haven’t done it since 2001 I completely forget what to do and came across couple of issues, so I figured I’ll throw a post for other people that may have the same issue.
You first need to create the txt file and directories here:
/Users/YourUserName/Library/Preferences/Macromedia/Flash\ Player/Logs/flashlog.txt
Then you need to create the mm.cfg file in both location:
/Library/Application Support/Macromedia/mm.cfg
/Users/YourUserName/mm.cfg
Then paste the follwing code in the mm.cfg:
ErrorReportingEnable=1
TraceOutputFileEnable=1
MaxWarnings=0
Initially, I pasted the code only in the first directory and couldn’t get it to work, not sure why, so place the file in both directories to play it safe.
I am running the Flash Debug Player 10, on Mac OS X.
To see the messages as they come on Terminal, navigate to the flashlog directory and type in:
tail -f flashlog.txt
I Hope you find this tip handy.






















I think that Adobe breaks this with every Flash Player update. I can’t get it to work for me at all.
I had to restart Safari to get it to work. Reloading the application wasn’t enought.
Just a heads up it looks like you only need to put the mm.cfg in /Users/YourUserName/mm.cfg and not in both places on a Mac. Your millage may vary…
I’d just play it safe and pop it into /Users/username/Library/Application Support/Macromedia/mm.cfg and then just create two symbolic links:
`ln -s ~/Library/Application\ Support/Macromedia/mm.cfg /Library/Application\ Support/Macromedia/`
`ln -s ~/Library/Application\ Support/Macromedia/mm.cfg ~`
I like this method because I’m sure I’ll be keeping my mm.cfg backed up and it is in the other possible locations where it may be looked for since we have this seeming general confusion…
I use “de MonsterDebugger”, it’s great AIR app to debug logs and much more (even change values of vars at runtime) from my flash/flex swf’s.
check it: http://demonsterdebugger.com/