<?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>FlexOut &#187; debug</title>
	<atom:link href="http://flex.exposedout.net/tag/debug/feed/" rel="self" type="application/rss+xml" />
	<link>http://flex.exposedout.net</link>
	<description>i am an itemrendrer in the making!</description>
	<lastBuildDate>Fri, 13 May 2011 10:05:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>How to turn on debug trace in Flex</title>
		<link>http://flex.exposedout.net/2009/02/10/show-debug-trace-in-flex/</link>
		<comments>http://flex.exposedout.net/2009/02/10/show-debug-trace-in-flex/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 08:22:37 +0000</pubDate>
		<dc:creator>Vikram singh</dc:creator>
				<category><![CDATA[flex]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[trace]]></category>

		<guid isPermaLink="false">http://guavus.wordpress.com/?p=204</guid>
		<description><![CDATA[When you encounter issue wit your flex app, one useful tool for troubleshooting is to turn on debug in flex to get some output that will provide some clue of the cause of he problem. Here is how to turn it on from server-side as well as from client-side: 1. From server side: In the [...]


Related posts:<ol><li><a href='http://flex.exposedout.net/2008/09/09/uploads-file-via-httphttps/' rel='bookmark' title='Permanent Link: uploads file via http/https'>uploads file via http/https</a></li>
<li><a href='http://flex.exposedout.net/2009/05/21/flex-bindable-tag/' rel='bookmark' title='Permanent Link: Flex &quot;Bindable&quot; tag'>Flex &quot;Bindable&quot; tag</a></li>
<li><a href='http://flex.exposedout.net/2008/12/04/multi-language-support-in-flex/' rel='bookmark' title='Permanent Link: Multi Language-Support in flex'>Multi Language-Support in flex</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>When you encounter issue wit your flex app, one useful tool for troubleshooting is to turn on debug in flex to get some output that will provide some clue of the cause of he problem. Here is how to turn it on from server-side as well as from client-side:</p>
<p><strong>1. From server side:</strong><br />
In the services-config.xml, set the logging level to debug, and set filters to include the service you need:</p>
<blockquote><p>&lt;target class=&#8221;flex.messaging.log.ConsoleTarget&#8221; level=&#8221;debug&#8221;&gt;<br />
&lt;properties&gt;<br />
&lt;prefix&gt;[Flex hotfix2] &lt;/prefix&gt;<br />
&lt;includeDate&gt;true&lt;/includeDate&gt;<br />
&lt;includeTime&gt;true&lt;/includeTime&gt;<br />
&lt;includeLevel&gt;true&lt;/includeLevel&gt;<br />
&lt;includeCategory&gt;true&lt;/includeCategory&gt;<br />
&lt;/properties&gt;<br />
&lt;filters&gt;<br />
&lt;pattern&gt;Endpoint.*&lt;/pattern&gt;<br />
&lt;pattern&gt;Service.*&lt;/pattern&gt;<br />
&lt;pattern&gt;Protocol.*&lt;/pattern&gt;<br />
&lt;pattern&gt;Message.*&lt;/pattern&gt;<br />
&lt;pattern&gt;DataService.*&lt;/pattern&gt;<br />
&lt;pattern&gt;Configuration&lt;/pattern&gt;<br />
&lt;/filters&gt;<br />
&lt;/target&gt;</p></blockquote>
<p>See available pattern in doc:</p>
<p>http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/lcds/help.html?content=services_logging_3.html</p>
<p><strong>2. To turn on trace in JGroup:</strong><br />
in jgroups-tcp.xml, add  &lt;TRACE/&gt; tag just before the &lt;/config&gt; line :</p>
<blockquote><p>&lt;config&gt;<br />
&#8230;.<br />
&lt;TRACE/&gt;<br />
&lt;/config&gt;</p></blockquote>
<p><strong>3. To turn on from client-side:</strong><br />
Make sure flashlog.txt is enabled, i.e, have the following setting in mm.cfg<br />
TraceOutputFileEnable=1<br />
ErrorReportingEnable=1<br />
See more details in the doc <a href="http://livedocs.adobe.com/flex/3/html/help.html?content=logging_04.html">here</a><br />
There is a good blog regarding mm.cfg <a href="http://blogs.adobe.com/penguin.swf/2008/08/secrets_of_the_mmscfg_file_1.html">here</a> as well.<br />
Then in your flex app, add the following tag:<br />
&lt;mx:TraceTarget/&gt;<br />
<strong><br />
4. To turn on the flash player policy logging</strong><br />
see <a href="http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security_05.html">http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security_05.html</a></p>
<p><a href="http://weblogs.macromedia.com/lin/archives/2008/08/how_to_turn_on.html" target="_blank">Original post</a></p>


<p>Related posts:<ol><li><a href='http://flex.exposedout.net/2008/09/09/uploads-file-via-httphttps/' rel='bookmark' title='Permanent Link: uploads file via http/https'>uploads file via http/https</a></li>
<li><a href='http://flex.exposedout.net/2009/05/21/flex-bindable-tag/' rel='bookmark' title='Permanent Link: Flex &quot;Bindable&quot; tag'>Flex &quot;Bindable&quot; tag</a></li>
<li><a href='http://flex.exposedout.net/2008/12/04/multi-language-support-in-flex/' rel='bookmark' title='Permanent Link: Multi Language-Support in flex'>Multi Language-Support in flex</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://flex.exposedout.net/2009/02/10/show-debug-trace-in-flex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

