<?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>guy in the chair . com &#187; debugger</title>
	<atom:link href="http://guyinthechair.com/tag/debugger/feed/" rel="self" type="application/rss+xml" />
	<link>http://guyinthechair.com</link>
	<description>//the blog of Paul Taylor</description>
	<lastBuildDate>Fri, 18 Nov 2011 01:22:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Flex 3 Debugger anomaly</title>
		<link>http://guyinthechair.com/2009/01/flex-3-debugger-anomaly/</link>
		<comments>http://guyinthechair.com/2009/01/flex-3-debugger-anomaly/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 20:36:45 +0000</pubDate>
		<dc:creator>Paul Taylor</dc:creator>
				<category><![CDATA[actionscript]]></category>
		<category><![CDATA[debugger]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://guyinthechair.com/?p=11</guid>
		<description><![CDATA[Working today, I discovered the debugger does something silly with for loops. If you have code formatted like so: var i:int = 0;var foo:int = 3;for(; i &#60; foo; i++){        //Code here} If you set a breakpoint on line 3, where the for loop is defined, the Flex debugger will only stop after it [...]]]></description>
			<content:encoded><![CDATA[<p>Working today, I discovered the debugger does something silly with <span style="font-family: 'Courier New'; white-space: pre;">for</span> loops. If you have code formatted like so:<br/><br />
<span style="font-family: 'Courier New'; white-space: pre;">var i:int = 0;<br/>var foo:int = 3;<br/>for(; i &lt; foo; i++){<br/>        //Code here<br/>}</span><br/><br />
If you set a breakpoint on line 3, where the for loop is defined, the Flex debugger will only stop <strong>after it has been through one iteration of the loop</strong>. This caught me off guard, and for a minute I thought it was immediately incrementing the iterator. Only when I breakpointed on both the line of the <span style="font-family: 'Courier New'; white-space: pre;">for</span> loop and on the first line inside my loop did I realize what was happening. The debugger stopped on the first line of my loop, not when it executed the condition the first time. This does not seem like standard debugger behavior at all. Does this happen to everyone? I know if you define the iterator inline, the debugger stops. Huh.</p>
]]></content:encoded>
			<wfw:commentRss>http://guyinthechair.com/2009/01/flex-3-debugger-anomaly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

