<?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: How to debug EXC_BAD_ACCESS</title>
	<atom:link href="http://www.touch-code-magazine.com/how-to-debug-exc_bad_access/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.touch-code-magazine.com/how-to-debug-exc_bad_access/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-debug-exc_bad_access</link>
	<description>Tutorials and excerpts about iPhone and iPad programming in Objective-C and Cocoa Touch</description>
	<lastBuildDate>Thu, 02 Feb 2012 22:43:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Ruug</title>
		<link>http://www.touch-code-magazine.com/how-to-debug-exc_bad_access/comment-page-1/#comment-433</link>
		<dc:creator>Ruug</dc:creator>
		<pubDate>Fri, 03 Dec 2010 01:31:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.touch-code-magazine.com/?p=8#comment-433</guid>
		<description>Ugh. Figured it out. I had something more complicated than this:

	NSString *it = @&quot;blah&quot;;
	NSLog(@&quot;only one parameter &#039;%@&#039; dummy %@&quot;, it);

which was causing the EXC_BAD_ACCESS.

But the debugger kept pointing me to some other random locations. I basically worked backwards commenting out things until I narrowed down the real cause.</description>
		<content:encoded><![CDATA[<p>Ugh. Figured it out. I had something more complicated than this:</p>
<p>	NSString *it = @&#8221;blah&#8221;;<br />
	NSLog(@&#8221;only one parameter &#8216;%@&#8217; dummy %@&#8221;, it);</p>
<p>which was causing the EXC_BAD_ACCESS.</p>
<p>But the debugger kept pointing me to some other random locations. I basically worked backwards commenting out things until I narrowed down the real cause.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marin</title>
		<link>http://www.touch-code-magazine.com/how-to-debug-exc_bad_access/comment-page-1/#comment-432</link>
		<dc:creator>Marin</dc:creator>
		<pubDate>Thu, 02 Dec 2010 22:13:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.touch-code-magazine.com/?p=8#comment-432</guid>
		<description>Hi Ruug,

yeah EXC_BAD_ACCESS is quite an issue :) 
I have 4 posts about different cases you might have happening, have a look here : 

http://www.touch-code-magazine.com/?s=EXC_BAD

If all else fails ... go old school - put a breakpoint somewhere before the code fails and step trough the code to see what&#039;s going on man 

Marin</description>
		<content:encoded><![CDATA[<p>Hi Ruug,</p>
<p>yeah EXC_BAD_ACCESS is quite an issue <img src='http://www.touch-code-magazine.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
I have 4 posts about different cases you might have happening, have a look here : </p>
<p><a href="http://www.touch-code-magazine.com/?s=EXC_BAD" rel="nofollow">http://www.touch-code-magazine.com/?s=EXC_BAD</a></p>
<p>If all else fails &#8230; go old school &#8211; put a breakpoint somewhere before the code fails and step trough the code to see what&#8217;s going on man </p>
<p>Marin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ruug</title>
		<link>http://www.touch-code-magazine.com/how-to-debug-exc_bad_access/comment-page-1/#comment-431</link>
		<dc:creator>Ruug</dc:creator>
		<pubDate>Thu, 02 Dec 2010 22:09:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.touch-code-magazine.com/?p=8#comment-431</guid>
		<description>Hi Marin,

This is really useful information. Unfortunately, I have not found my problem. I enabled zombies and all I see in the debugger is EXC_BAD_ACCESS. 

I know I&#039;ve enabled it correctly because I purposely created an over released scenario.  In my &quot;fake&quot; case I get a message like:
*** -[MyObject retainCount]: message sent to deallocated instance 0x6682380

Any thoughts on how to debug this further?

Ruug</description>
		<content:encoded><![CDATA[<p>Hi Marin,</p>
<p>This is really useful information. Unfortunately, I have not found my problem. I enabled zombies and all I see in the debugger is EXC_BAD_ACCESS. </p>
<p>I know I&#8217;ve enabled it correctly because I purposely created an over released scenario.  In my &#8220;fake&#8221; case I get a message like:<br />
*** -[MyObject retainCount]: message sent to deallocated instance 0&#215;6682380</p>
<p>Any thoughts on how to debug this further?</p>
<p>Ruug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iPhone Developer</title>
		<link>http://www.touch-code-magazine.com/how-to-debug-exc_bad_access/comment-page-1/#comment-420</link>
		<dc:creator>iPhone Developer</dc:creator>
		<pubDate>Tue, 26 Oct 2010 15:47:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.touch-code-magazine.com/?p=8#comment-420</guid>
		<description>Cheers for the tip :)
coming from a C# background all this retain and release is confusing me!
This is very helpful!</description>
		<content:encoded><![CDATA[<p>Cheers for the tip <img src='http://www.touch-code-magazine.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
coming from a C# background all this retain and release is confusing me!<br />
This is very helpful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: poker online</title>
		<link>http://www.touch-code-magazine.com/how-to-debug-exc_bad_access/comment-page-1/#comment-413</link>
		<dc:creator>poker online</dc:creator>
		<pubDate>Thu, 14 Oct 2010 07:11:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.touch-code-magazine.com/?p=8#comment-413</guid>
		<description>good points and the details are more specific than elsewhere, thanks.

- Joe</description>
		<content:encoded><![CDATA[<p>good points and the details are more specific than elsewhere, thanks.</p>
<p>- Joe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vesa</title>
		<link>http://www.touch-code-magazine.com/how-to-debug-exc_bad_access/comment-page-1/#comment-379</link>
		<dc:creator>Vesa</dc:creator>
		<pubDate>Wed, 18 Aug 2010 07:28:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.touch-code-magazine.com/?p=8#comment-379</guid>
		<description>Hi Marlin,

This is very useful piece of information.
I, too, spent many hours finding the problem and fixed it under a minute with NSZombies.</description>
		<content:encoded><![CDATA[<p>Hi Marlin,</p>
<p>This is very useful piece of information.<br />
I, too, spent many hours finding the problem and fixed it under a minute with NSZombies.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marin</title>
		<link>http://www.touch-code-magazine.com/how-to-debug-exc_bad_access/comment-page-1/#comment-142</link>
		<dc:creator>Marin</dc:creator>
		<pubDate>Fri, 02 Jul 2010 09:31:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.touch-code-magazine.com/?p=8#comment-142</guid>
		<description>Hi Pete, I&#039;m absolutely thrilled that the article is useful :) Very much appreciate you comment</description>
		<content:encoded><![CDATA[<p>Hi Pete, I&#8217;m absolutely thrilled that the article is useful <img src='http://www.touch-code-magazine.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Very much appreciate you comment</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pete</title>
		<link>http://www.touch-code-magazine.com/how-to-debug-exc_bad_access/comment-page-1/#comment-141</link>
		<dc:creator>Pete</dc:creator>
		<pubDate>Fri, 02 Jul 2010 08:43:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.touch-code-magazine.com/?p=8#comment-141</guid>
		<description>Hi Marin,

Just found this page after hours of fighting with an EXC_BAD_ACCESS bug and unsuccessfully trying to find where it was happening.  Like Sreejit, read this, enabled NSZombie and almost instantly found the problem.

Thanks for the help.

Pete</description>
		<content:encoded><![CDATA[<p>Hi Marin,</p>
<p>Just found this page after hours of fighting with an EXC_BAD_ACCESS bug and unsuccessfully trying to find where it was happening.  Like Sreejit, read this, enabled NSZombie and almost instantly found the problem.</p>
<p>Thanks for the help.</p>
<p>Pete</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marin</title>
		<link>http://www.touch-code-magazine.com/how-to-debug-exc_bad_access/comment-page-1/#comment-96</link>
		<dc:creator>Marin</dc:creator>
		<pubDate>Tue, 15 Jun 2010 10:13:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.touch-code-magazine.com/?p=8#comment-96</guid>
		<description>Hey Sreejit, 

great you had it solved and did left me feedback :) Totally what makes me write on this site!

Marin</description>
		<content:encoded><![CDATA[<p>Hey Sreejit, </p>
<p>great you had it solved and did left me feedback <img src='http://www.touch-code-magazine.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Totally what makes me write on this site!</p>
<p>Marin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sreejit</title>
		<link>http://www.touch-code-magazine.com/how-to-debug-exc_bad_access/comment-page-1/#comment-95</link>
		<dc:creator>Sreejit</dc:creator>
		<pubDate>Tue, 15 Jun 2010 10:06:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.touch-code-magazine.com/?p=8#comment-95</guid>
		<description>Hi Marin,

Thanks for this post. It helped me a lot. A LOT. I had been struggling with the EXEC_BAD_ACCESS for almost 4 hours before looking to this post (via google) . I solved the bug within a couple of minutes after enabling NSZombieEnabled. 

Thanks a lot.

-Sreejit</description>
		<content:encoded><![CDATA[<p>Hi Marin,</p>
<p>Thanks for this post. It helped me a lot. A LOT. I had been struggling with the EXEC_BAD_ACCESS for almost 4 hours before looking to this post (via google) . I solved the bug within a couple of minutes after enabling NSZombieEnabled. </p>
<p>Thanks a lot.</p>
<p>-Sreejit</p>
]]></content:encoded>
	</item>
</channel>
</rss>

