关于FLASH player DEBUGGER LOGGER 输出的一个问题
2012-04-26 18:15
381 查看
flash player debugger11.2
在C:\Documents and Settings\a501279\Application Data\Macromedia\Flash Player\Logs 下的flashlog.txt 无法输出
GOOLE了一下,国外朋友的发现如下:
解决方法:
把mm.cfg放在%HOMEDRIVE%%HOMEPATH%下, echo %HOMEDRIVE%%HOMEPATH% W:, 所以把mm.cfg 放在W: ,结果成功解决问题。
7147 Views 39 Replies
Latest reply: Oct 28, 2010 10:09 PM by nanunh
rootsounds
Currently Being Moderated
Not Answered.
Configuration:
Windows XP SP3 x86
FlashDevelop IDE 3.2.1
Flex SDK 3.5.0.12683
Browsers: Firefox 3.6.4 (with Firebug and Flashbug) and IE8
Flash Player Debugger 10.1.53.64
Issue Overview:
Since upgrading from the debug player 10.0.45.2 to the latest 10.1.53.64, I've found that my trace statements are no long written to flashlog.txt from either Firefox or IE. No logs are written, which is a pretty big deal during development.
Consider that it does affect the players in both browsers. I do have mm.cfg configured correctly as per the KB instructions (no change was required, although I did experiment). I am indeed compiling in debug mode. It's not a Flashbug issue as flashlog.txt
never gets updated.
Research:
I wasn't able to find much of anything in my searching. There was maybe one blog post with comments suggesting a similar issue with a 10.1RC, but didn't offer up any solutions (I hadn't been developing with the RCs). Also, I couldn't find a relevant entry
in the Flash Player bug tracker.
Workaround?
For the time being, I am forced to revert back to 10.0.45.2 which worked immediately. Has anyone else experienced this issue?
Like (0)
Average User Rating
0
(0 ratings)
pauland
Currently Being Moderated
1.
Jun 24, 2010 5:25 AM (in response to rootsounds)
Re: Flash 10.1.53.64 - no flashlog.txt logging
I'm running that same version of the player and FlashBug/Firebug are working fine.
Report Abuse
Like (0)
rootsounds
Currently Being Moderated
2.
Jun 24, 2010 5:40 AM (in response to pauland)
Re: Flash 10.1.53.64 - no flashlog.txt logging
I expect this was a sweeping 10.1 fail, the dev community would have been screaming bloody murder from the first pre-releases.
As far as I can tell, the only change is the updated debug player. I did just update to XP SP3, but the former player works fine under it. I've run through the KB instructions to enable logging, but was already good to go. Maybe there's something minor that
I'm missing or something that 10.0 tolerated that 10.1 is not so kind with.
For the sake of completeness, here's my mm.cfg contents:
ErrorReportingEnable=0 # Enables the logging of error messages. 0/1
TraceOutputFileEnable=1 # Enables trace logging. 0/1
MaxWarnings=100 # Sets the number of warnings to log before stopping.
#flashlog - undocumented
TraceOutputBuffered=0 # Traces will be buffered and write to disk multiple lines in one access
AS3Verbose=0 # Traces detailed information about SWF ByteCode structure and Runtime parsing of the bytecode
AS3Trace=0 # Trace every single call to any function that is being called in the SWF at runtime
AS3StaticProfile=0 # Enables Just in Time Compiler (NanoJIT) logs.
AS3DynamicProfile=0 # Shows dynamic information about the opcodes being called and gives statistic for each. The statistics include count, cycles, %count, %times and CPI
#policyfiles
PolicyFileLog=0 # Enables policy file logging
PolicyFileLogAppend=0 # Optional; do not clear log at startup
Report Abuse
Like (0)
Flex harUI
Currently Being Moderated
3.
Jun 24, 2010 10:56 AM (in response to rootsounds)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Are you sure you installed a debugger version of 10.1?
Report Abuse
Like (0)
rootsounds
Currently Being Moderated
4.
Jun 24, 2010 11:06 AM (in response to Flex harUI)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Yep. Definitely the debugger versions which I tried in both browsers. Flashbug recognized it and it has the expected menu item.
Report Abuse
Like (0)
rootsounds
Currently Being Moderated
5.
Jun 28, 2010 5:44 AM (in response to rootsounds)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Still stumped on this. I'm configured correctly (as far as I can tell). A known issue is that you can't debug while an AIR app is running because it holds a lock on the log file for some reason. This doesn't apply to my situation though.
Works perfectly fine whenever I revert back to 10.0.x. I would like to actually be able to debug in the current build. That and benefit from the latest round of security fixes.
Report Abuse
Like (0)
JabbyPandaUA
Currently Being Moderated
6.
Jun 28, 2010 5:58 AM (in response to rootsounds)
Re: Flash 10.1.53.64 - no flashlog.txt logging
I am on Windows XP Service Pack 3
My flashlog.txt is located at
"c:\Documents and Settings\[user name]\Application Data\Macromedia\Flash Player\Logs\flashlog.txt"
Under 10.1.51.66 Debug player "flashlog.txt" is filled with warnings due to https://bugs.adobe.com/jira/browse/FP-4615
Warning: 'StageVideo' has no property 'prototype'
Warning: 'AsBroadcaster' has no property 'addListener'
Warning: 'AsBroadcaster' has no property 'removeListener'
Under 10.1.53.64 Debug Player those warnings are gone (hurray) and flashtlog.txt file is correctly recreated every time.
Report Abuse
Like (0)
jdeeman
Currently Being Moderated
7.
Jun 29, 2010 6:44 AM (in response to rootsounds)
Re: Flash 10.1.53.64 - no flashlog.txt logging
I also have the same issue, so i can confirm its not an isolated problem.
The only difference is that i'm running Windows 7.
Any ideas on this would be much appreciated.
Report Abuse
Like (0)
amshagar
Currently Being Moderated
8.
Jul 27, 2010 2:33 AM (in response to jdeeman)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Same problem, my flashlog.txt is never fill... I don't understand why...
With flashplayer 10.0.x : it's OK.
Report Abuse
Like (0)
tcorbet
Currently Being Moderated
9.
Jul 27, 2010 3:50 PM (in response to rootsounds)
Re: Flash 10.1.53.64 - no flashlog.txt logging
I don't have the answer, but I think that there is now someone besides the AIR Runtime that is leaving the file locked. I think if you try to clear the Trace file out of Firebug you have a pretty good chance of getting a #3013 error. In my test environment,
I can clear that by re-starting Firefox -- annoying, but at least it lets me get back to testing.
Report Abuse
Like (0)
rootsounds
Currently Being Moderated
10.
Jul 28, 2010 5:08 AM (in response to tcorbet)
Re: Flash 10.1.53.64 - no flashlog.txt logging
There is no lock reported on the Trace log file.
Report Abuse
Like (0)
Flex harUI
Currently Being Moderated
11.
Jul 28, 2010 8:41 AM (in response to rootsounds)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Does the Flash Builder console work?
Report Abuse
Like (0)
rootsounds
Currently Being Moderated
12.
Jul 28, 2010 8:43 AM (in response to Flex harUI)
Re: Flash 10.1.53.64 - no flashlog.txt logging
I don't have Flash Builder (see the first post).
Report Abuse
Like (0)
Eric Fickes
Currently Being Moderated
13.
Aug 3, 2010 11:39 PM (in response to rootsounds)
Re: Flash 10.1.53.64 - no flashlog.txt logging
I am on OS X and have the same problem with Chrome and Firefox. FP 10.1.53.64.
I went so far as to remove the Macromedia folder and reinstall FP 10.1 Debugger and no difference.
Report Abuse
Like (0)
DavidSalahi
Currently Being Moderated
14.
Aug 4, 2010 3:28 PM (in response to Eric Fickes)
Re: Flash 10.1.53.64 - no flashlog.txt logging
I'm also failing to get trace output in flashlog.txt. I have the following statements in mm.cfg:
ErrorReportingEnable=1
TraceOutputFileEnable=1
but I get no trace output.
Curiously, flashlog.txt was modified earlier today, apparently by Photoshop; here's the entire contents of the file:
Load Bundle at C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\Plug-ins\Extensions **********Running app: C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\Plug-ins\Extensions\ScriptUIFlexServer-app.xml ScriptUI is ready. Host logging disabled Debug
tracing disabled Finished loading style definitions
But debugging in Flash Builder with the debug Flash Player V10.1.53.64 produces no trace output in the file.
Windows 7 x64
Firefox 3.6.8
David Salahi
Report Abuse
Like (0)
DavidSalahi
Currently Being Moderated
15.
Aug 4, 2010 10:19 PM (in response to DavidSalahi)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Have been researching this some more. Also, don't get any logging of trace statements from Flash Pro CS5. Furthermore, no logging of trace statements in Flashbug (for Firebug) nor in De MonsterDebugger although the MonsterDebugger does connect to the running
SWF. No logging from the ActiveX version of the debug player in IE either.
David Salahi
Report Abuse
Like (0)
Eric Fickes
Currently Being Moderated
16.
Aug 4, 2010 10:42 PM (in response to DavidSalahi)
Re: Flash 10.1.53.64 - no flashlog.txt logging
I haven't tried Flash CS5, but I was seeing trace() statements in Flash
Builder.
-EF
Report Abuse
Like (0)
Keyston
Currently Being Moderated
17.
Aug 5, 2010 5:31 PM (in response to rootsounds)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Just Close PS, i wrote an semi indept blog post about this
http://ihaveinternet.com/2010/08/05/scriptuiflexserver-and-flashlog-tx t/
And the Bug
https://bugs.adobe.com/jira/browse/FP-5176
Report Abuse
Like (0)
DavidSalahi
Currently Being Moderated
18.
Aug 5, 2010 5:47 PM (in response to Keyston)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Wow, thanks a million for the tip! That was the problem. Exiting Photoshop gets my flashlog.txt logging back along with trace output in Flashbug.
Thanks again,
Dave
Report Abuse
Like (0)
amshagar
Currently Being Moderated
19.
Aug 6, 2010 2:17 AM (in response to Keyston)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Hi
Thanks for the tip, but it don't work for me, my flashlog.txt isn't locked by any process (I have checked with Process Explorer).
Report Abuse
Like (0)
Flex harUI
Currently Being Moderated
20.
Aug 6, 2010 11:22 AM (in response to amshagar)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Additional info from someone on the player team:
I tried TraceLogging and it is working for me just fine on WinXP SP3 for
both IE an FF.
The user mentions that he upgraded to SP3...is it possible he needs to reset
his HOMEPATH environment variable?
%HOMEDRIVE% %HOMEPATH%
(type, e.g., echo %HOMEPATH% at a command prompt)
Regarding the Win 7 user, the path to the log file has changed since the OS
changed and I believe it is now located in the SysWow or SysWow32 or
something like that. Sorry don't have a Win 7 machine at this time to locate
exactly. Also on Win Vista the path is different from XP
Vista: C:\Users\username\AppData\Roaming\Macromedia\Flash Player\Logs
Report Abuse
Like (0)
DavidSalahi
Currently Being Moderated
21.
Aug 6, 2010 11:55 AM (in response to Flex harUI)
Re: Flash 10.1.53.64 - no flashlog.txt logging
FYI, the path on Windows 7 is:
C:\Users\username\AppData\Roaming\Macromedia\Flash Player\Logs\flashlog.txt
Report Abuse
Like (0)
Eric Fickes
Currently Being Moderated
22.
Aug 6, 2010 12:10 PM (in response to Keyston)
Re: Flash 10.1.53.64 - no flashlog.txt logging
I wish this tip worked for me as well. I have nothing open on OS X except
my browser, or Flash Pro, and still no flashlog.txt. I've even deleted the
Flash Player folder from /Users/me/Library/Preferences/Macromedia/. After
restarting my browser, FP recreates all the folders, but never writes a log.
Can somebody verify this mm.cfg for me? I've tried these two version with
no luck
mm.cfg 1
Report Abuse
Like (0)
DavidSalahi
Currently Being Moderated
23.
Aug 6, 2010 12:22 PM (in response to Eric Fickes)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Your mm.cfg should contain these two lines:
ErrorReportingEnable=1
TraceOutputFileEnable=1
Report Abuse
Like (0)
Eric Fickes
Currently Being Moderated
24.
Aug 6, 2010 12:28 PM (in response to DavidSalahi)
Re: Flash 10.1.53.64 - no flashlog.txt logging
My CFG file does contain those two lines. Are you suggesting I don't need
the TraceOutputFileName entry?
-EF
Report Abuse
Like (0)
DavidSalahi
Currently Being Moderated
25.
Aug 6, 2010 12:40 PM (in response to Eric Fickes)
Re: Flash 10.1.53.64 - no flashlog.txt logging
EF,
Yes, in the current version of Flash Player the filename is always flashlog.txt. The filename entry in mm.cfg is ignored. As far as I know, it shouldn't cause a problem, though.
Dave
Report Abuse
Like (0)
CharSkin
Currently Being Moderated
26.
Aug 11, 2010 4:43 AM (in response to rootsounds)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Just like to add that I have the same problem. Getting no traces from Flash Player 10.1 in MSIE 8. Had to revert to 10.0 to fix the problem.
My application is a mix of Flash 8 swf's and Flex 3 swf's. Debugging in Flash Builder works fine and i get traces from the Flex code (not that i really need them). But the Flash 8 swf's don't show any traces. By the way I'm using Service Capture to display
the traces.
Report Abuse
Like (0)
rootsounds
Currently Being Moderated
27.
Aug 11, 2010 6:07 AM (in response to Flex harUI)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Flex harUI wrote:
Additional info from someone on the player team:
I tried TraceLogging and it is working for me just fine on WinXP SP3 for
both IE an FF.
The user mentions that he upgraded to SP3...is it possible he needs to reset
his HOMEPATH environment variable?
%HOMEDRIVE% %HOMEPATH%
(type, e.g., echo %HOMEPATH% at a command prompt)
Regarding the Win 7 user, the path to the log file has changed since the OS
changed and I believe it is now located in the SysWow or SysWow32 or
something like that. Sorry don't have a Win 7 machine at this time to locate
exactly. Also on Win Vista the path is different from XP
Vista: C:\Users\username\AppData\Roaming\Macromedia\Flash Player\Logs
My HOMEDRIVE and HOMEPATH variables have indeed been messed with (thank you IT!). I've tried changing them to "C:" and "\Documents and Settings\<user> respectively in the command line using
set. The changes register there, but still no logging. Not sure if maybe IT's environment variable settings stick behind the scenes in a fun, unintuitive way. Their values of course get reinstated on login.
The LiveDocs report that for XP log files are placed in: C:\Documents and Settings\username
whereas 95/98/ME places them in: %HOMEDRIVE%\%HOMEPATH
This perhaps suggests that there could be some different logic going on in XP which obviously changed with 10.1.
Report Abuse
Like (0)
rootsounds
Currently Being Moderated
28.
Aug 11, 2010 6:17 AM (in response to rootsounds)
Re: Flash 10.1.53.64 - no flashlog.txt logging
FYI - Just noticed that 10.1.82.76 has been released. Gave it a try and logging still doesn't work. Not a huge surprise, but it was worth a shot!
Report Abuse
Like (0)
Eric Fickes
Currently Being Moderated
29.
Aug 11, 2010 10:11 AM (in response to rootsounds)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Yup same here. Upgraded to 10.1.8 and still no logging on OS X. Haven't
tried PC yet.
BTW, Chrome wasn't updated but Firefox was. Is there a Chrome player update
somewhere?
-EF
Report Abuse
Like (0)
Flex harUI
Currently Being Moderated
30.
Aug 11, 2010 11:19 AM (in response to Eric Fickes)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Did you try going to the Adobe site from Chrome?
Report Abuse
Like (0)
Flex harUI
Currently Being Moderated
31.
Aug 11, 2010 11:21 AM (in response to rootsounds)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Set from the commandline only affects apps running from the commandline.
Control Panel/System/Environment Variables controls what other apps see.
Report Abuse
Like (0)
Eric Fickes
Currently Being Moderated
32.
Aug 11, 2010 12:29 PM (in response to Flex harUI)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Yes, I've tried every Adobe url I can find and they ALL say I'm running the
latest FP for Chrome. I know this isn't an auto update which is why I
downloaded 10.1.8 from the Flash Download center.
Any other ideas?
-EF
Report Abuse
Like (0)
Eric Fickes
Currently Being Moderated
33.
Aug 16, 2010 10:32 AM (in response to Flex harUI)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Hey guys,
Logging is working on my OS X box again, but only in Firefox, not Chrome.
Unsure if all the recent updates fixed it, or if reading this is what
helped.
http://livedocs.adobe.com/flex/3/html/help.html?content=logging_04.htm l
Here's what I learned, but unsure if it helped.
- Flash player looks for mm.cfg in the user's home directory first (
/Users/yourusername/ ), and then /Library/Appliations Support/Macromedia/
I was previously messing with mm.cfg in
/Users/username/Library/Preferences/Macromedia
- The path to flashlog.txt is now HARD CODED, and not configurable. If you
are on OS X, you should find your flashlog.txt file
at /Users/username/Library/Preferences/Macromedia/Flash Player/logs.
So for any OS X-ers have this problem, here's my setup.
- /Users/ericfickes/mm.cfg
ErrorReportingEnable=1
TraceOutputFileEnable=1
- My log file appears at
/Users/ericfickes/Library/Preferences/Macromedia/Flash Player/Logs
Hope this helps.
Eric Fickes = Independent Internet Contractor
Report Abuse
Like (0)
rootsounds
Currently Being Moderated
34.
Aug 17, 2010 8:08 AM (in response to Flex harUI)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Flex harUI wrote:
Additional info from someone on the player team:
I tried TraceLogging and it is working for me just fine on WinXP SP3 for
both IE an FF.
The user mentions that he upgraded to SP3...is it possible he needs to reset
his HOMEPATH environment variable?
%HOMEDRIVE% %HOMEPATH%
(type, e.g., echo %HOMEPATH% at a command prompt)
Regarding the Win 7 user, the path to the log file has changed since the OS
changed and I believe it is now located in the SysWow or SysWow32 or
something like that. Sorry don't have a Win 7 machine at this time to locate
exactly. Also on Win Vista the path is different from XP
Vista: C:\Users\username\AppData\Roaming\Macromedia\Flash Player\Logs
Still no luck. Corporate policy dictates those environment variables.
However, note that the above contradicts the information documented here which says that the path is hard-coded:
http://help.adobe.com/en_US/flex/using/WSda78ed3a750d6b8f-4867184d1239 f9d0558-8000.html
In 10.0 it must have been hard-coded, but obviously something changed in 10.1 and this isn't documented.
Report Abuse
Like (0)
phil_thomas
Currently Being Moderated
35.
Aug 17, 2010 2:48 PM (in response to rootsounds)
Re: Flash 10.1.53.64 - no flashlog.txt logging
After being unable to get logging working since upgrading to 10.1, I fired up Sysinternals File Monitor and noticed that Flash Player is now looking for the mm.cfg file at %HOMEDRIVE%%HOMEPATH%\mm.cfg (IT remapped) for Win XP instead of C:\Documents and
Settings\username\mm.cfg as it did in 10.0 and as the docs say. The flashlog.txt still goes in C:\Documents and Settings\username\Application Data\Macromedia\Flash Player\Logs though.
Not sure if this is a bug or a "feature" but it's annoying regardless.
Report Abuse
Like (1)
rootsounds
Currently Being Moderated
36.
Aug 18, 2010 5:00 AM (in response to phil_thomas)
Re: Flash 10.1.53.64 - no flashlog.txt logging
phil_thomas wrote:
After being unable to get logging working since upgrading to 10.1, I fired up Sysinternals File Monitor and noticed that Flash Player is now looking for the mm.cfg file at %HOMEDRIVE%%HOMEPATH%\mm.cfg (IT remapped) for Win XP instead of C:\Documents and
Settings\username\mm.cfg as it did in 10.0 and as the docs say. The flashlog.txt still goes in C:\Documents and Settings\username\Application Data\Macromedia\Flash Player\Logs though.
Not sure if this is a bug or a "feature" but it's annoying regardless.
This appears to definitely be the case. I managed to get IT to change my HOMEDRIVE and HOMEPATH mappings and it did the trick to get logging to work with 10.1. Considering that it's not documented and not at all configurable, I would classify this as a bug.
It makes the debug player pretty much useless, so it should probably be addressed.
Report Abuse
Like (0)
Flex harUI
Currently Being Moderated
37.
Aug 18, 2010 10:54 AM (in response to rootsounds)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Please open a bug with your findings.
Report Abuse
Like (0)
amshagar
Currently Being Moderated
38.
Aug 21, 2010 6:34 AM (in response to Flex harUI)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Thanks for the solution, i've put mm.cfg in my folder "%HOMEDRIVE%%HOMEPATH%", and now logging works fine.
Report Abuse
Like (1)
nanunh
Currently Being Moderated
39.
Oct 28, 2010 10:09 PM (in response to amshagar)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Tore my head apart on this one.. tried several permutations and combinations.The homepath/homedrive solution worked.
With version flash plugin 10,1,53,64 installed i got the log file to show up - My %HOMEDRIVE% was H: and my HOMEPATH was / - so i put mm.cfg in H:/ (i.e H:/mm.cfg is the complete path to the file) with the two lines
ErrorReportingEnable = 1
TraceOutputFileEnable = 1
and ran a swf (that had trace stmts) in a browser (IE) - The log file flashlogs.txt was created @ C:\Users\fred\AppData\Roaming\Macromedia\Flash Player\Logs
在C:\Documents and Settings\a501279\Application Data\Macromedia\Flash Player\Logs 下的flashlog.txt 无法输出
GOOLE了一下,国外朋友的发现如下:
解决方法:
把mm.cfg放在%HOMEDRIVE%%HOMEPATH%下, echo %HOMEDRIVE%%HOMEPATH% W:, 所以把mm.cfg 放在W: ,结果成功解决问题。
7147 Views 39 Replies
Latest reply: Oct 28, 2010 10:09 PM by nanunh
rootsounds
Currently Being Moderated
Jun 24, 2010 5:17 AM
Flash 10.1.53.64 - no flashlog.txt logging
This question isNot Answered.
Configuration:
Windows XP SP3 x86
FlashDevelop IDE 3.2.1
Flex SDK 3.5.0.12683
Browsers: Firefox 3.6.4 (with Firebug and Flashbug) and IE8
Flash Player Debugger 10.1.53.64
Issue Overview:
Since upgrading from the debug player 10.0.45.2 to the latest 10.1.53.64, I've found that my trace statements are no long written to flashlog.txt from either Firefox or IE. No logs are written, which is a pretty big deal during development.
Consider that it does affect the players in both browsers. I do have mm.cfg configured correctly as per the KB instructions (no change was required, although I did experiment). I am indeed compiling in debug mode. It's not a Flashbug issue as flashlog.txt
never gets updated.
Research:
I wasn't able to find much of anything in my searching. There was maybe one blog post with comments suggesting a similar issue with a 10.1RC, but didn't offer up any solutions (I hadn't been developing with the RCs). Also, I couldn't find a relevant entry
in the Flash Player bug tracker.
Workaround?
For the time being, I am forced to revert back to 10.0.45.2 which worked immediately. Has anyone else experienced this issue?
Like (0)
Average User Rating
0
(0 ratings)
pauland
Currently Being Moderated
1.
Jun 24, 2010 5:25 AM (in response to rootsounds)
Re: Flash 10.1.53.64 - no flashlog.txt logging
I'm running that same version of the player and FlashBug/Firebug are working fine.
Report Abuse
Like (0)
rootsounds
Currently Being Moderated
2.
Jun 24, 2010 5:40 AM (in response to pauland)
Re: Flash 10.1.53.64 - no flashlog.txt logging
I expect this was a sweeping 10.1 fail, the dev community would have been screaming bloody murder from the first pre-releases.
As far as I can tell, the only change is the updated debug player. I did just update to XP SP3, but the former player works fine under it. I've run through the KB instructions to enable logging, but was already good to go. Maybe there's something minor that
I'm missing or something that 10.0 tolerated that 10.1 is not so kind with.
For the sake of completeness, here's my mm.cfg contents:
ErrorReportingEnable=0 # Enables the logging of error messages. 0/1
TraceOutputFileEnable=1 # Enables trace logging. 0/1
MaxWarnings=100 # Sets the number of warnings to log before stopping.
#flashlog - undocumented
TraceOutputBuffered=0 # Traces will be buffered and write to disk multiple lines in one access
AS3Verbose=0 # Traces detailed information about SWF ByteCode structure and Runtime parsing of the bytecode
AS3Trace=0 # Trace every single call to any function that is being called in the SWF at runtime
AS3StaticProfile=0 # Enables Just in Time Compiler (NanoJIT) logs.
AS3DynamicProfile=0 # Shows dynamic information about the opcodes being called and gives statistic for each. The statistics include count, cycles, %count, %times and CPI
#policyfiles
PolicyFileLog=0 # Enables policy file logging
PolicyFileLogAppend=0 # Optional; do not clear log at startup
Report Abuse
Like (0)
Flex harUI
Currently Being Moderated
3.
Jun 24, 2010 10:56 AM (in response to rootsounds)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Are you sure you installed a debugger version of 10.1?
Report Abuse
Like (0)
rootsounds
Currently Being Moderated
4.
Jun 24, 2010 11:06 AM (in response to Flex harUI)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Yep. Definitely the debugger versions which I tried in both browsers. Flashbug recognized it and it has the expected menu item.
Report Abuse
Like (0)
rootsounds
Currently Being Moderated
5.
Jun 28, 2010 5:44 AM (in response to rootsounds)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Still stumped on this. I'm configured correctly (as far as I can tell). A known issue is that you can't debug while an AIR app is running because it holds a lock on the log file for some reason. This doesn't apply to my situation though.
Works perfectly fine whenever I revert back to 10.0.x. I would like to actually be able to debug in the current build. That and benefit from the latest round of security fixes.
Report Abuse
Like (0)
JabbyPandaUA
Currently Being Moderated
6.
Jun 28, 2010 5:58 AM (in response to rootsounds)
Re: Flash 10.1.53.64 - no flashlog.txt logging
I am on Windows XP Service Pack 3
My flashlog.txt is located at
"c:\Documents and Settings\[user name]\Application Data\Macromedia\Flash Player\Logs\flashlog.txt"
Under 10.1.51.66 Debug player "flashlog.txt" is filled with warnings due to https://bugs.adobe.com/jira/browse/FP-4615
Warning: 'StageVideo' has no property 'prototype'
Warning: 'AsBroadcaster' has no property 'addListener'
Warning: 'AsBroadcaster' has no property 'removeListener'
Under 10.1.53.64 Debug Player those warnings are gone (hurray) and flashtlog.txt file is correctly recreated every time.
Report Abuse
Like (0)
jdeeman
Currently Being Moderated
7.
Jun 29, 2010 6:44 AM (in response to rootsounds)
Re: Flash 10.1.53.64 - no flashlog.txt logging
I also have the same issue, so i can confirm its not an isolated problem.
The only difference is that i'm running Windows 7.
Any ideas on this would be much appreciated.
Report Abuse
Like (0)
amshagar
Currently Being Moderated
8.
Jul 27, 2010 2:33 AM (in response to jdeeman)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Same problem, my flashlog.txt is never fill... I don't understand why...
With flashplayer 10.0.x : it's OK.
Report Abuse
Like (0)
tcorbet
Currently Being Moderated
9.
Jul 27, 2010 3:50 PM (in response to rootsounds)
Re: Flash 10.1.53.64 - no flashlog.txt logging
I don't have the answer, but I think that there is now someone besides the AIR Runtime that is leaving the file locked. I think if you try to clear the Trace file out of Firebug you have a pretty good chance of getting a #3013 error. In my test environment,
I can clear that by re-starting Firefox -- annoying, but at least it lets me get back to testing.
Report Abuse
Like (0)
rootsounds
Currently Being Moderated
10.
Jul 28, 2010 5:08 AM (in response to tcorbet)
Re: Flash 10.1.53.64 - no flashlog.txt logging
There is no lock reported on the Trace log file.
Report Abuse
Like (0)
Flex harUI
Currently Being Moderated
11.
Jul 28, 2010 8:41 AM (in response to rootsounds)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Does the Flash Builder console work?
Report Abuse
Like (0)
rootsounds
Currently Being Moderated
12.
Jul 28, 2010 8:43 AM (in response to Flex harUI)
Re: Flash 10.1.53.64 - no flashlog.txt logging
I don't have Flash Builder (see the first post).
Report Abuse
Like (0)
Eric Fickes
Currently Being Moderated
13.
Aug 3, 2010 11:39 PM (in response to rootsounds)
Re: Flash 10.1.53.64 - no flashlog.txt logging
I am on OS X and have the same problem with Chrome and Firefox. FP 10.1.53.64.
I went so far as to remove the Macromedia folder and reinstall FP 10.1 Debugger and no difference.
Report Abuse
Like (0)
DavidSalahi
Currently Being Moderated
14.
Aug 4, 2010 3:28 PM (in response to Eric Fickes)
Re: Flash 10.1.53.64 - no flashlog.txt logging
I'm also failing to get trace output in flashlog.txt. I have the following statements in mm.cfg:
ErrorReportingEnable=1
TraceOutputFileEnable=1
but I get no trace output.
Curiously, flashlog.txt was modified earlier today, apparently by Photoshop; here's the entire contents of the file:
Load Bundle at C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\Plug-ins\Extensions **********Running app: C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\Plug-ins\Extensions\ScriptUIFlexServer-app.xml ScriptUI is ready. Host logging disabled Debug
tracing disabled Finished loading style definitions
But debugging in Flash Builder with the debug Flash Player V10.1.53.64 produces no trace output in the file.
Windows 7 x64
Firefox 3.6.8
David Salahi
Report Abuse
Like (0)
DavidSalahi
Currently Being Moderated
15.
Aug 4, 2010 10:19 PM (in response to DavidSalahi)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Have been researching this some more. Also, don't get any logging of trace statements from Flash Pro CS5. Furthermore, no logging of trace statements in Flashbug (for Firebug) nor in De MonsterDebugger although the MonsterDebugger does connect to the running
SWF. No logging from the ActiveX version of the debug player in IE either.
David Salahi
Report Abuse
Like (0)
Eric Fickes
Currently Being Moderated
16.
Aug 4, 2010 10:42 PM (in response to DavidSalahi)
Re: Flash 10.1.53.64 - no flashlog.txt logging
I haven't tried Flash CS5, but I was seeing trace() statements in Flash
Builder.
-EF
Report Abuse
Like (0)
Keyston
Currently Being Moderated
17.
Aug 5, 2010 5:31 PM (in response to rootsounds)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Just Close PS, i wrote an semi indept blog post about this
http://ihaveinternet.com/2010/08/05/scriptuiflexserver-and-flashlog-tx t/
And the Bug
https://bugs.adobe.com/jira/browse/FP-5176
Report Abuse
Like (0)
DavidSalahi
Currently Being Moderated
18.
Aug 5, 2010 5:47 PM (in response to Keyston)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Wow, thanks a million for the tip! That was the problem. Exiting Photoshop gets my flashlog.txt logging back along with trace output in Flashbug.
Thanks again,
Dave
Report Abuse
Like (0)
amshagar
Currently Being Moderated
19.
Aug 6, 2010 2:17 AM (in response to Keyston)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Hi
Thanks for the tip, but it don't work for me, my flashlog.txt isn't locked by any process (I have checked with Process Explorer).
Report Abuse
Like (0)
Flex harUI
Currently Being Moderated
20.
Aug 6, 2010 11:22 AM (in response to amshagar)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Additional info from someone on the player team:
I tried TraceLogging and it is working for me just fine on WinXP SP3 for
both IE an FF.
The user mentions that he upgraded to SP3...is it possible he needs to reset
his HOMEPATH environment variable?
%HOMEDRIVE% %HOMEPATH%
(type, e.g., echo %HOMEPATH% at a command prompt)
Regarding the Win 7 user, the path to the log file has changed since the OS
changed and I believe it is now located in the SysWow or SysWow32 or
something like that. Sorry don't have a Win 7 machine at this time to locate
exactly. Also on Win Vista the path is different from XP
Vista: C:\Users\username\AppData\Roaming\Macromedia\Flash Player\Logs
Report Abuse
Like (0)
DavidSalahi
Currently Being Moderated
21.
Aug 6, 2010 11:55 AM (in response to Flex harUI)
Re: Flash 10.1.53.64 - no flashlog.txt logging
FYI, the path on Windows 7 is:
C:\Users\username\AppData\Roaming\Macromedia\Flash Player\Logs\flashlog.txt
Report Abuse
Like (0)
Eric Fickes
Currently Being Moderated
22.
Aug 6, 2010 12:10 PM (in response to Keyston)
Re: Flash 10.1.53.64 - no flashlog.txt logging
I wish this tip worked for me as well. I have nothing open on OS X except
my browser, or Flash Pro, and still no flashlog.txt. I've even deleted the
Flash Player folder from /Users/me/Library/Preferences/Macromedia/. After
restarting my browser, FP recreates all the folders, but never writes a log.
Can somebody verify this mm.cfg for me? I've tried these two version with
no luck
mm.cfg 1
Report Abuse
Like (0)
DavidSalahi
Currently Being Moderated
23.
Aug 6, 2010 12:22 PM (in response to Eric Fickes)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Your mm.cfg should contain these two lines:
ErrorReportingEnable=1
TraceOutputFileEnable=1
Report Abuse
Like (0)
Eric Fickes
Currently Being Moderated
24.
Aug 6, 2010 12:28 PM (in response to DavidSalahi)
Re: Flash 10.1.53.64 - no flashlog.txt logging
My CFG file does contain those two lines. Are you suggesting I don't need
the TraceOutputFileName entry?
-EF
Report Abuse
Like (0)
DavidSalahi
Currently Being Moderated
25.
Aug 6, 2010 12:40 PM (in response to Eric Fickes)
Re: Flash 10.1.53.64 - no flashlog.txt logging
EF,
Yes, in the current version of Flash Player the filename is always flashlog.txt. The filename entry in mm.cfg is ignored. As far as I know, it shouldn't cause a problem, though.
Dave
Report Abuse
Like (0)
CharSkin
Currently Being Moderated
26.
Aug 11, 2010 4:43 AM (in response to rootsounds)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Just like to add that I have the same problem. Getting no traces from Flash Player 10.1 in MSIE 8. Had to revert to 10.0 to fix the problem.
My application is a mix of Flash 8 swf's and Flex 3 swf's. Debugging in Flash Builder works fine and i get traces from the Flex code (not that i really need them). But the Flash 8 swf's don't show any traces. By the way I'm using Service Capture to display
the traces.
Report Abuse
Like (0)
rootsounds
Currently Being Moderated
27.
Aug 11, 2010 6:07 AM (in response to Flex harUI)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Flex harUI wrote:
Additional info from someone on the player team:
I tried TraceLogging and it is working for me just fine on WinXP SP3 for
both IE an FF.
The user mentions that he upgraded to SP3...is it possible he needs to reset
his HOMEPATH environment variable?
%HOMEDRIVE% %HOMEPATH%
(type, e.g., echo %HOMEPATH% at a command prompt)
Regarding the Win 7 user, the path to the log file has changed since the OS
changed and I believe it is now located in the SysWow or SysWow32 or
something like that. Sorry don't have a Win 7 machine at this time to locate
exactly. Also on Win Vista the path is different from XP
Vista: C:\Users\username\AppData\Roaming\Macromedia\Flash Player\Logs
My HOMEDRIVE and HOMEPATH variables have indeed been messed with (thank you IT!). I've tried changing them to "C:" and "\Documents and Settings\<user> respectively in the command line using
set. The changes register there, but still no logging. Not sure if maybe IT's environment variable settings stick behind the scenes in a fun, unintuitive way. Their values of course get reinstated on login.
The LiveDocs report that for XP log files are placed in: C:\Documents and Settings\username
whereas 95/98/ME places them in: %HOMEDRIVE%\%HOMEPATH
This perhaps suggests that there could be some different logic going on in XP which obviously changed with 10.1.
Report Abuse
Like (0)
rootsounds
Currently Being Moderated
28.
Aug 11, 2010 6:17 AM (in response to rootsounds)
Re: Flash 10.1.53.64 - no flashlog.txt logging
FYI - Just noticed that 10.1.82.76 has been released. Gave it a try and logging still doesn't work. Not a huge surprise, but it was worth a shot!
Report Abuse
Like (0)
Eric Fickes
Currently Being Moderated
29.
Aug 11, 2010 10:11 AM (in response to rootsounds)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Yup same here. Upgraded to 10.1.8 and still no logging on OS X. Haven't
tried PC yet.
BTW, Chrome wasn't updated but Firefox was. Is there a Chrome player update
somewhere?
-EF
Report Abuse
Like (0)
Flex harUI
Currently Being Moderated
30.
Aug 11, 2010 11:19 AM (in response to Eric Fickes)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Did you try going to the Adobe site from Chrome?
Report Abuse
Like (0)
Flex harUI
Currently Being Moderated
31.
Aug 11, 2010 11:21 AM (in response to rootsounds)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Set from the commandline only affects apps running from the commandline.
Control Panel/System/Environment Variables controls what other apps see.
Report Abuse
Like (0)
Eric Fickes
Currently Being Moderated
32.
Aug 11, 2010 12:29 PM (in response to Flex harUI)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Yes, I've tried every Adobe url I can find and they ALL say I'm running the
latest FP for Chrome. I know this isn't an auto update which is why I
downloaded 10.1.8 from the Flash Download center.
Any other ideas?
-EF
Report Abuse
Like (0)
Eric Fickes
Currently Being Moderated
33.
Aug 16, 2010 10:32 AM (in response to Flex harUI)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Hey guys,
Logging is working on my OS X box again, but only in Firefox, not Chrome.
Unsure if all the recent updates fixed it, or if reading this is what
helped.
http://livedocs.adobe.com/flex/3/html/help.html?content=logging_04.htm l
Here's what I learned, but unsure if it helped.
- Flash player looks for mm.cfg in the user's home directory first (
/Users/yourusername/ ), and then /Library/Appliations Support/Macromedia/
I was previously messing with mm.cfg in
/Users/username/Library/Preferences/Macromedia
- The path to flashlog.txt is now HARD CODED, and not configurable. If you
are on OS X, you should find your flashlog.txt file
at /Users/username/Library/Preferences/Macromedia/Flash Player/logs.
So for any OS X-ers have this problem, here's my setup.
- /Users/ericfickes/mm.cfg
ErrorReportingEnable=1
TraceOutputFileEnable=1
- My log file appears at
/Users/ericfickes/Library/Preferences/Macromedia/Flash Player/Logs
Hope this helps.
Eric Fickes = Independent Internet Contractor
Report Abuse
Like (0)
rootsounds
Currently Being Moderated
34.
Aug 17, 2010 8:08 AM (in response to Flex harUI)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Flex harUI wrote:
Additional info from someone on the player team:
I tried TraceLogging and it is working for me just fine on WinXP SP3 for
both IE an FF.
The user mentions that he upgraded to SP3...is it possible he needs to reset
his HOMEPATH environment variable?
%HOMEDRIVE% %HOMEPATH%
(type, e.g., echo %HOMEPATH% at a command prompt)
Regarding the Win 7 user, the path to the log file has changed since the OS
changed and I believe it is now located in the SysWow or SysWow32 or
something like that. Sorry don't have a Win 7 machine at this time to locate
exactly. Also on Win Vista the path is different from XP
Vista: C:\Users\username\AppData\Roaming\Macromedia\Flash Player\Logs
Still no luck. Corporate policy dictates those environment variables.
However, note that the above contradicts the information documented here which says that the path is hard-coded:
http://help.adobe.com/en_US/flex/using/WSda78ed3a750d6b8f-4867184d1239 f9d0558-8000.html
In 10.0 it must have been hard-coded, but obviously something changed in 10.1 and this isn't documented.
Report Abuse
Like (0)
phil_thomas
Currently Being Moderated
35.
Aug 17, 2010 2:48 PM (in response to rootsounds)
Re: Flash 10.1.53.64 - no flashlog.txt logging
After being unable to get logging working since upgrading to 10.1, I fired up Sysinternals File Monitor and noticed that Flash Player is now looking for the mm.cfg file at %HOMEDRIVE%%HOMEPATH%\mm.cfg (IT remapped) for Win XP instead of C:\Documents and
Settings\username\mm.cfg as it did in 10.0 and as the docs say. The flashlog.txt still goes in C:\Documents and Settings\username\Application Data\Macromedia\Flash Player\Logs though.
Not sure if this is a bug or a "feature" but it's annoying regardless.
Report Abuse
Like (1)
rootsounds
Currently Being Moderated
36.
Aug 18, 2010 5:00 AM (in response to phil_thomas)
Re: Flash 10.1.53.64 - no flashlog.txt logging
phil_thomas wrote:
After being unable to get logging working since upgrading to 10.1, I fired up Sysinternals File Monitor and noticed that Flash Player is now looking for the mm.cfg file at %HOMEDRIVE%%HOMEPATH%\mm.cfg (IT remapped) for Win XP instead of C:\Documents and
Settings\username\mm.cfg as it did in 10.0 and as the docs say. The flashlog.txt still goes in C:\Documents and Settings\username\Application Data\Macromedia\Flash Player\Logs though.
Not sure if this is a bug or a "feature" but it's annoying regardless.
This appears to definitely be the case. I managed to get IT to change my HOMEDRIVE and HOMEPATH mappings and it did the trick to get logging to work with 10.1. Considering that it's not documented and not at all configurable, I would classify this as a bug.
It makes the debug player pretty much useless, so it should probably be addressed.
Report Abuse
Like (0)
Flex harUI
Currently Being Moderated
37.
Aug 18, 2010 10:54 AM (in response to rootsounds)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Please open a bug with your findings.
Report Abuse
Like (0)
amshagar
Currently Being Moderated
38.
Aug 21, 2010 6:34 AM (in response to Flex harUI)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Thanks for the solution, i've put mm.cfg in my folder "%HOMEDRIVE%%HOMEPATH%", and now logging works fine.
Report Abuse
Like (1)
nanunh
Currently Being Moderated
39.
Oct 28, 2010 10:09 PM (in response to amshagar)
Re: Flash 10.1.53.64 - no flashlog.txt logging
Tore my head apart on this one.. tried several permutations and combinations.The homepath/homedrive solution worked.
With version flash plugin 10,1,53,64 installed i got the log file to show up - My %HOMEDRIVE% was H: and my HOMEPATH was / - so i put mm.cfg in H:/ (i.e H:/mm.cfg is the complete path to the file) with the two lines
ErrorReportingEnable = 1
TraceOutputFileEnable = 1
and ran a swf (that had trace stmts) in a browser (IE) - The log file flashlogs.txt was created @ C:\Users\fred\AppData\Roaming\Macromedia\Flash Player\Logs
相关文章推荐
- C语言中的一个关于基本类型的输出问题
- 关于空格和回车带来的输入输出不一致问题,使用了一个奇怪的replace
- 一个奇怪的问题--关于文件输出
- 记录一个java.util.logging.Logger 使用中关于时间格式的问题
- 转:关于使用fputc输出,文件结尾多一个字符的问题
- 关于Logger日志的控制台输出问题
- 一个关于输出的问题(Console.Writeline 和Response.Write的区别)
- 关于一个字符出现1次或者n次输出问题的解决方法
- C语言中的一个关于基本类型的输出问题
- 问一个关于反射中,属性字段的问题
- 关于dd命令输出结果无法重定向到文件的问题
- Error: method GET is not supported by this URL 一个关于传统servlet的问题
- 关于android中gen目录的一个小问题
- 关于提示”XML 文档只能有一个顶层元素“问题的解决方法备忘
- c开发 一个关于访问性的问题
- 请教一个关于UE编辑器ftp账号管理的设置问题
- 遇到的一个关于自增的小问题、、
- 一个关于swfupload控件的问题
- 关于easyUI在子页面增加显示tabs的一个问题
- 今天在mvc里用datepicker一个关于焦点的小问题。