<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Getting the Flex Profiler  to Work</title>
	<atom:link href="http://arielsommeria.com/blog/2008/12/22/getting-the-flex-profiler-to-work/feed/" rel="self" type="application/rss+xml" />
	<link>http://arielsommeria.com/blog/2008/12/22/getting-the-flex-profiler-to-work/</link>
	<description>Web Applications and Open Source</description>
	<lastBuildDate>Wed, 01 Feb 2012 15:17:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: admin</title>
		<link>http://arielsommeria.com/blog/2008/12/22/getting-the-flex-profiler-to-work/comment-page-1/#comment-1001</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 03 Nov 2011 09:34:32 +0000</pubDate>
		<guid isPermaLink="false">http://arielsommeria.com/blog/?p=48#comment-1001</guid>
		<description>thanks for the update!</description>
		<content:encoded><![CDATA[<p>thanks for the update!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darren</title>
		<link>http://arielsommeria.com/blog/2008/12/22/getting-the-flex-profiler-to-work/comment-page-1/#comment-1000</link>
		<dc:creator>Darren</dc:creator>
		<pubDate>Wed, 02 Nov 2011 23:17:12 +0000</pubDate>
		<guid isPermaLink="false">http://arielsommeria.com/blog/?p=48#comment-1000</guid>
		<description>So... I just ran across some new fun on this one today. Since this is the page that got me to get it working in the first place, I thought I&#039;d share what the issue is.

Looks like the profiler SWF isn&#039;t compatible with flash player 11. Flash Builder 4.5 has two different ones, one for 10 and one for 11.

If you&#039;re using Flash Builder 4.0 and Flash Player 11, then you need to replace the SWF with the one from Flash Builder 4.5. 

The best part is that you can&#039;t manually change your mm.cfg, because the IDE will overwrite the setting when you try to profile. Fun times.

Cheers!</description>
		<content:encoded><![CDATA[<p>So&#8230; I just ran across some new fun on this one today. Since this is the page that got me to get it working in the first place, I thought I&#8217;d share what the issue is.</p>
<p>Looks like the profiler SWF isn&#8217;t compatible with flash player 11. Flash Builder 4.5 has two different ones, one for 10 and one for 11.</p>
<p>If you&#8217;re using Flash Builder 4.0 and Flash Player 11, then you need to replace the SWF with the one from Flash Builder 4.5. </p>
<p>The best part is that you can&#8217;t manually change your mm.cfg, because the IDE will overwrite the setting when you try to profile. Fun times.</p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://arielsommeria.com/blog/2008/12/22/getting-the-flex-profiler-to-work/comment-page-1/#comment-991</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sat, 08 Oct 2011 13:19:14 +0000</pubDate>
		<guid isPermaLink="false">http://arielsommeria.com/blog/?p=48#comment-991</guid>
		<description>sorry, I&#039;ve never heard of that one. Good luck, as you&#039;ve seen, resources are scant on this kind of issue...</description>
		<content:encoded><![CDATA[<p>sorry, I&#8217;ve never heard of that one. Good luck, as you&#8217;ve seen, resources are scant on this kind of issue&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bob</title>
		<link>http://arielsommeria.com/blog/2008/12/22/getting-the-flex-profiler-to-work/comment-page-1/#comment-989</link>
		<dc:creator>bob</dc:creator>
		<pubDate>Fri, 07 Oct 2011 18:49:36 +0000</pubDate>
		<guid isPermaLink="false">http://arielsommeria.com/blog/?p=48#comment-989</guid>
		<description>I&#039;m using FB4 and IE9 and I *think* the profiler is coming up ok.  The config window comes up and I turn on performance profiling and turn off memory profiling then click &#039;resume&#039;.  My app comes up.  When I click on &#039;capture performance profile&#039;, I get two errors (with the second error repeating over and over because it&#039;s in a timer handler).

ReferenceError: Error #1037: Cannot assign to a method propertyIsEnumerable on flash.utils.Dictionary.
   at ProfilerAgent/getStringId()
   at ProfilerAgent/appendFunctionInvocationCount()
   at ProfilerAgent/appendInvocationCounts()
   at ProfilerAgent/getCountsHandler()
   at ProfilerAgent/socketDataHandler()

Error: ProfilerAgent.timerHandler: locked
   at ProfilerAgent/timerHandler()
   at flash.utils::Timer/_timerDispatch()
   at flash.utils::Timer/tick()

It doesn&#039;t look like I have an mm.cfg file (at least not in c:\users\myname).  I tried creating one with the PreloadSwf but I still get the above errors.  Anyone seen this before?  It&#039;s not mentioned on any of the previous comments.</description>
		<content:encoded><![CDATA[<p>I&#8217;m using FB4 and IE9 and I *think* the profiler is coming up ok.  The config window comes up and I turn on performance profiling and turn off memory profiling then click &#8216;resume&#8217;.  My app comes up.  When I click on &#8216;capture performance profile&#8217;, I get two errors (with the second error repeating over and over because it&#8217;s in a timer handler).</p>
<p>ReferenceError: Error #1037: Cannot assign to a method propertyIsEnumerable on flash.utils.Dictionary.<br />
   at ProfilerAgent/getStringId()<br />
   at ProfilerAgent/appendFunctionInvocationCount()<br />
   at ProfilerAgent/appendInvocationCounts()<br />
   at ProfilerAgent/getCountsHandler()<br />
   at ProfilerAgent/socketDataHandler()</p>
<p>Error: ProfilerAgent.timerHandler: locked<br />
   at ProfilerAgent/timerHandler()<br />
   at flash.utils::Timer/_timerDispatch()<br />
   at flash.utils::Timer/tick()</p>
<p>It doesn&#8217;t look like I have an mm.cfg file (at least not in c:\users\myname).  I tried creating one with the PreloadSwf but I still get the above errors.  Anyone seen this before?  It&#8217;s not mentioned on any of the previous comments.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim Peterson</title>
		<link>http://arielsommeria.com/blog/2008/12/22/getting-the-flex-profiler-to-work/comment-page-1/#comment-902</link>
		<dc:creator>Jim Peterson</dc:creator>
		<pubDate>Mon, 06 Jun 2011 14:51:43 +0000</pubDate>
		<guid isPermaLink="false">http://arielsommeria.com/blog/?p=48#comment-902</guid>
		<description>I just found that on Windows 7, if you start your Flash Builder or Eclipse with administration privileges, the profiler will not connect.  Be sure to start your Flash Builder or Eclipse without &quot;Start as Administrator&quot; (I had foolishly created an Icon to start Eclipse which include this option on)</description>
		<content:encoded><![CDATA[<p>I just found that on Windows 7, if you start your Flash Builder or Eclipse with administration privileges, the profiler will not connect.  Be sure to start your Flash Builder or Eclipse without &#8220;Start as Administrator&#8221; (I had foolishly created an Icon to start Eclipse which include this option on)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://arielsommeria.com/blog/2008/12/22/getting-the-flex-profiler-to-work/comment-page-1/#comment-851</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 13 Apr 2011 07:31:13 +0000</pubDate>
		<guid isPermaLink="false">http://arielsommeria.com/blog/?p=48#comment-851</guid>
		<description>The mm.cfg is getting wiped because that&#039;s how Flash Builder sets things up to start the profiler. I can&#039;t help you any more than that though</description>
		<content:encoded><![CDATA[<p>The mm.cfg is getting wiped because that&#8217;s how Flash Builder sets things up to start the profiler. I can&#8217;t help you any more than that though</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Irene Levina</title>
		<link>http://arielsommeria.com/blog/2008/12/22/getting-the-flex-profiler-to-work/comment-page-1/#comment-850</link>
		<dc:creator>Irene Levina</dc:creator>
		<pubDate>Tue, 12 Apr 2011 19:16:00 +0000</pubDate>
		<guid isPermaLink="false">http://arielsommeria.com/blog/?p=48#comment-850</guid>
		<description>Trying to setup profile, I don&#039;t use FlexBuilder install, instead using Exclipse IDE 3.5.2 and install Flex 4.0 Plugin.
Found mm.cfg  updated as you suggested with the correct path to the ProfilerAgent.swf. What is weird everytime when I am trying to run profile content of mm.ccfg is wiped out and I am getting the following error:
“Unable to connect to the application to fetch profile data. Please try profiling the application again.”

Any idea what is wrong?

Thx,
Irene</description>
		<content:encoded><![CDATA[<p>Trying to setup profile, I don&#8217;t use FlexBuilder install, instead using Exclipse IDE 3.5.2 and install Flex 4.0 Plugin.<br />
Found mm.cfg  updated as you suggested with the correct path to the ProfilerAgent.swf. What is weird everytime when I am trying to run profile content of mm.ccfg is wiped out and I am getting the following error:<br />
“Unable to connect to the application to fetch profile data. Please try profiling the application again.”</p>
<p>Any idea what is wrong?</p>
<p>Thx,<br />
Irene</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://arielsommeria.com/blog/2008/12/22/getting-the-flex-profiler-to-work/comment-page-1/#comment-840</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 30 Mar 2011 08:28:15 +0000</pubDate>
		<guid isPermaLink="false">http://arielsommeria.com/blog/?p=48#comment-840</guid>
		<description>you&#039;ll have to look for it in your flash builder files</description>
		<content:encoded><![CDATA[<p>you&#8217;ll have to look for it in your flash builder files</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Kramer</title>
		<link>http://arielsommeria.com/blog/2008/12/22/getting-the-flex-profiler-to-work/comment-page-1/#comment-839</link>
		<dc:creator>David Kramer</dc:creator>
		<pubDate>Tue, 29 Mar 2011 17:57:36 +0000</pubDate>
		<guid isPermaLink="false">http://arielsommeria.com/blog/?p=48#comment-839</guid>
		<description>What is the proper path for the PreloadSwf on a Mac?  
(Every example out there shows DOS paths.)</description>
		<content:encoded><![CDATA[<p>What is the proper path for the PreloadSwf on a Mac?<br />
(Every example out there shows DOS paths.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sathish</title>
		<link>http://arielsommeria.com/blog/2008/12/22/getting-the-flex-profiler-to-work/comment-page-1/#comment-579</link>
		<dc:creator>sathish</dc:creator>
		<pubDate>Mon, 08 Nov 2010 07:26:57 +0000</pubDate>
		<guid isPermaLink="false">http://arielsommeria.com/blog/?p=48#comment-579</guid>
		<description>Just oneline added to mm.cfg is the solved for me, my mm.cfg was empty:
PreloadSwf=C:/Users//Adobe Flash Builder 4/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf?host=localhost&amp;port=9999

Thanks a lot for nice post.</description>
		<content:encoded><![CDATA[<p>Just oneline added to mm.cfg is the solved for me, my mm.cfg was empty:<br />
PreloadSwf=C:/Users//Adobe Flash Builder 4/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf?host=localhost&amp;port=9999</p>
<p>Thanks a lot for nice post.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

