<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>BetaDesigns( Blog ) &#187; Profiler</title>
	<atom:link href="http://www.betadesigns.co.uk/Blog/category/flex/profiler-flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.betadesigns.co.uk/Blog</link>
	<description>Flex and Component Development</description>
	<lastBuildDate>Sat, 31 Dec 2011 13:04:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Adobe Max, Debugging, Profiling and TDD</title>
		<link>http://www.betadesigns.co.uk/Blog/2010/11/18/adobe-max-debugging-profiling-and-tdd/</link>
		<comments>http://www.betadesigns.co.uk/Blog/2010/11/18/adobe-max-debugging-profiling-and-tdd/#comments</comments>
		<pubDate>Thu, 18 Nov 2010 13:39:37 +0000</pubDate>
		<dc:creator>Anthony</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Profiler]]></category>
		<category><![CDATA[Test Driven Design]]></category>
		<category><![CDATA[AdobeMax]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[Profling]]></category>
		<category><![CDATA[TDD]]></category>

		<guid isPermaLink="false">http://www.betadesigns.co.uk/Blog/?p=324</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="256"><param name="movie" value="http://images.tv.adobe.com/swf/player.swf"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><param name="FlashVars" value="fileID=8239&context=648&embeded=true&environment=production"></param><embed src="http://images.tv.adobe.com/swf/player.swf" flashvars="fileID=8239&context=648&embeded=true&environment=production" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="256"></embed></object></p>
<a href='http://twitter.com/share?url=http%3A%2F%2Fwww.betadesigns.co.uk%2FBlog%2F%3Fp%3D324&count=horizontal&related=&text=Adobe%20Max%2C%20Debugging%2C%20Profiling%20and%20TDD' class='twitter-share-button' data-text='Adobe Max, Debugging, Profiling and TDD' data-url='http://www.betadesigns.co.uk/Blog/?p=324' data-counturl='http://www.betadesigns.co.uk/Blog/2010/11/18/adobe-max-debugging-profiling-and-tdd/' data-count='horizontal' data-via='Omnipitence'></a>]]></content:encoded>
			<wfw:commentRss>http://www.betadesigns.co.uk/Blog/2010/11/18/adobe-max-debugging-profiling-and-tdd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Profiler Problems in Flex!</title>
		<link>http://www.betadesigns.co.uk/Blog/2008/06/19/profiler-problems-in-flex/</link>
		<comments>http://www.betadesigns.co.uk/Blog/2008/06/19/profiler-problems-in-flex/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 23:44:24 +0000</pubDate>
		<dc:creator>Anthony</dc:creator>
				<category><![CDATA[Bug Fixes]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Physics]]></category>
		<category><![CDATA[Profiler]]></category>
		<category><![CDATA[Flex Profiler No activity 60 seconds after connection.]]></category>
		<category><![CDATA[http://bugs.adobe.com/jira/browse/FB-12869]]></category>
		<category><![CDATA[InsideRIA]]></category>
		<category><![CDATA[mm.cfg]]></category>
		<category><![CDATA[PreloadSWF]]></category>
		<category><![CDATA[ProfilerAgent.swf]]></category>
		<category><![CDATA[Socket closed.]]></category>
		<category><![CDATA[Training from the Source : Profiling Flex Applications]]></category>
		<category><![CDATA[workspace/.metadata/.plugins/com.adobe.flash.profiler/a]]></category>

		<guid isPermaLink="false">http://www.betadesigns.co.uk/Blog/?p=19</guid>
		<description><![CDATA[After reading an example chapter from Training from the Source : Profiling Flex Applications on InsideRIA I thought ooo! I like using the profiler but i didnt know you could do that! So away I went and opend up one of my apps and clicked Profile.... O no whats going on? No Profiler prompt just [...]]]></description>
			<content:encoded><![CDATA[<p>After reading an example chapter from <a title="Profiler article" href="http://www.insideria.com/2008/06/profiling-flex-applications-sa.html" target="_blank">Training from the Source : Profiling Flex Applications</a> on InsideRIA I thought ooo! I like using the profiler but i didnt know you could do that! So away I went and opend up one of my apps and clicked Profile.... O no whats going on? No Profiler prompt just straight into the application</p>
<p>Socket closed.<br />
Socket closed.<br />
Socket closed.<br />
Flex Profiler No activity 60 seconds after connection.</p>
<p>and then quiet<span id="more-19"></span></p>
<p>I was at a loss why had my Profiler failed me? Could I find a solution on the internet by no means so i decided to carry on with some work and tackle this at a later date but then...</p>
<p>My apps start to take a rather long time to startup and even worse NO BREAKPOINTS !! O my god im gonna have a heart attack!</p>
<p>I noticed in the console that Flex is tracing out</p>
<p>Users/Anthony/workspace/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf</p>
<p>before trying to run my apps I do a search and found this <a title="bug" href="http://bugs.adobe.com/jira/browse/FB-12869" target="_blank">bug </a>in the bugbase</p>
<p><a title="bug" href="http://bugs.adobe.com/jira/browse/FB-12869" target="_blank">http://bugs.adobe.com/jira/browse/FB-12869</a></p>
<p>it mentions a file called mm.cfg that points to this ProfilerAgent.swf</p>
<p>you can find this file in the following locations</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<th width="201">Operating system</th>
<th width="314">mm.cfg file in this directory</th>
</tr>
<tr>
<td>Macintosh OS X</td>
<td>MacHD:Library:Application Support:macromedia:</td>
</tr>
<tr>
<td>Microsoft Windows Vista</td>
<td>C:\Users\<em>user_name</em>\</td>
</tr>
<tr>
<td>Microsoft Windows 2000/XP</td>
<td>C:\Documents and Settings\<em>user_name</em>\</td>
</tr>
<tr>
<td>Microsoft Windows 95/98/ME</td>
<td>%HOMEDRIVE%\%HOMEPATH%\</td>
</tr>
<tr>
<td>Linux</td>
<td>/home/<em>user_name</em></td>
</tr>
</tbody>
</table>
<p>inside this file there is a line of code that reads</p>
<p>PreloadSwf=/Users/[username]/Documents/workspace/<br />
.metadata/.plugins/com.adobe.flash.profiler/<br />
ProfilerAgent.swf?host=localhost&amp;port=9999</p>
<p>delete this and the debugger starts to work again however my Profiler still doesnt...</p>
<p>usefull related blog post</p>
<p><a title="fingers dancing" href="http://www.fingersdancing.net/2008/06/flex-debugger-crashing-eclipse-safari.html" target="_blank">Fingers Dancing</a></p>
<a href='http://twitter.com/share?url=http%3A%2F%2Fwww.betadesigns.co.uk%2FBlog%2F%3Fp%3D19&count=horizontal&related=&text=Profiler%20Problems%20in%20Flex%21' class='twitter-share-button' data-text='Profiler Problems in Flex!' data-url='http://www.betadesigns.co.uk/Blog/?p=19' data-counturl='http://www.betadesigns.co.uk/Blog/2008/06/19/profiler-problems-in-flex/' data-count='horizontal' data-via='Omnipitence'></a>]]></content:encoded>
			<wfw:commentRss>http://www.betadesigns.co.uk/Blog/2008/06/19/profiler-problems-in-flex/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

