<?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: Lost in Debug Hell : Fix Your Messy Trace Commands!</title>
	<atom:link href="http://cheezeworld.com/better-debug-tracing/feed/" rel="self" type="application/rss+xml" />
	<link>http://cheezeworld.com/better-debug-tracing/</link>
	<description>The Cheeze to Your Macaroni - Games, Open Source Programming, and Other Odd Ramblings.</description>
	<lastBuildDate>Fri, 05 Mar 2010 11:04:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Scott Delamater</title>
		<link>http://cheezeworld.com/better-debug-tracing/comment-page-1/#comment-50</link>
		<dc:creator>Scott Delamater</dc:creator>
		<pubDate>Tue, 03 Jun 2008 15:31:10 +0000</pubDate>
		<guid isPermaLink="false">http://cheezeworld.com/?p=36#comment-50</guid>
		<description>err...what looks like:

trace(&quot;&quot;); 

in the prev comment should be:

trace(&quot;&lt;MyClass.myComplexFunction()&gt;&quot;);</description>
		<content:encoded><![CDATA[<p>err&#8230;what looks like:</p>
<p>trace(&#8220;&#8221;); </p>
<p>in the prev comment should be:</p>
<p>trace(&#8220;&lt;MyClass.myComplexFunction()&gt;&#8221;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Delamater</title>
		<link>http://cheezeworld.com/better-debug-tracing/comment-page-1/#comment-49</link>
		<dc:creator>Scott Delamater</dc:creator>
		<pubDate>Tue, 03 Jun 2008 15:26:29 +0000</pubDate>
		<guid isPermaLink="false">http://cheezeworld.com/?p=36#comment-49</guid>
		<description>Excellent point!  This alone can save someone hours of work.

A related convention I use in cases where I may be debugging a particularly complex function (i.e., many trace statements in one function) is to trace the class/method name once, then indent subsequent trace statements:

...
public function myComplexFunction ():void
{
  trace( &quot;&quot; );
  // crazy stuff happens here
  trace( &quot;\tmyValue: &quot;+myValue );
  trace( &quot;\tmyOtherValue: &quot;+myOtherValue );
}
...</description>
		<content:encoded><![CDATA[<p>Excellent point!  This alone can save someone hours of work.</p>
<p>A related convention I use in cases where I may be debugging a particularly complex function (i.e., many trace statements in one function) is to trace the class/method name once, then indent subsequent trace statements:</p>
<p>&#8230;<br />
public function myComplexFunction ():void<br />
{<br />
  trace( &#8220;&#8221; );<br />
  // crazy stuff happens here<br />
  trace( &#8220;\tmyValue: &#8220;+myValue );<br />
  trace( &#8220;\tmyOtherValue: &#8220;+myOtherValue );<br />
}<br />
&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
