<?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>Mobile Developer Tips &#187; Debugging</title>
	<atom:link href="http://MobileDeveloperTips.com/category/debugging/feed" rel="self" type="application/rss+xml" />
	<link>http://MobileDeveloperTips.com</link>
	<description>iOS Developer Tips, Tricks and Tutorials.</description>
	<lastBuildDate>Wed, 16 May 2012 12:25:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Tracking Down Exception Errors With objc_exception_throw</title>
		<link>http://MobileDeveloperTips.com/debugging/tracking-down-exception-errors.html</link>
		<comments>http://MobileDeveloperTips.com/debugging/tracking-down-exception-errors.html#comments</comments>
		<pubDate>Mon, 30 Apr 2012 06:27:00 +0000</pubDate>
		<dc:creator>John Muchow</dc:creator>
				<category><![CDATA[Debugging]]></category>

		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=11504</guid>
		<description><![CDATA[<p><a href="http://MobileDeveloperTips.com/debugging/tracking-down-exception-errors.html">Tracking Down Exception Errors With objc_exception_throw</a> is protected by Copyright © <a href="http://MobileDeveloperTips.com">MobileDeveloperTips.com</a> 2008-2012 • All Rights Reserved</p>
Tracking Down Exception Errors With objc_exception_throw is protected by Copyright © MobileDeveloperTips.com 2008-2012 • All Rights Reserved When an application throws an exception, there is debug information shown in the console &#8211; below is the output in the console for an NSInvalidArgumentException: Although helpful, depending on the size of your application, it may take quite [...]
Related posts:<ol>
<li><a href='http://MobileDeveloperTips.com/debugging/tracking-down-exc_bad_access-errors-with-nszombieenabled.html' rel='bookmark' title='Tracking Down EXC_BAD_ACCESS Errors with NSZombieEnabled'>Tracking Down EXC_BAD_ACCESS Errors with NSZombieEnabled</a></li>
<li><a href='http://MobileDeveloperTips.com/debugging/updated-tracking-down-exc_bad_access-errors-with-nszombieenabled-in-xcode-4.html' rel='bookmark' title='Updated: Tracking Down EXC_BAD_ACCESS Errors with NSZombieEnabled in Xcode 4'>Updated: Tracking Down EXC_BAD_ACCESS Errors with NSZombieEnabled in Xcode 4</a></li>
<li><a href='http://MobileDeveloperTips.com/debugging/exceptions-try-catch-and-finally.html' rel='bookmark' title='Exceptions &#8211; Try, Catch and Finally'>Exceptions &#8211; Try, Catch and Finally</a></li>
</ol>]]></description>
		<wfw:commentRss>http://MobileDeveloperTips.com/debugging/tracking-down-exception-errors.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Remove Debug Code For Release Build</title>
		<link>http://MobileDeveloperTips.com/debugging/remove-debug-code-for-release-build.html</link>
		<comments>http://MobileDeveloperTips.com/debugging/remove-debug-code-for-release-build.html#comments</comments>
		<pubDate>Tue, 24 Apr 2012 02:31:20 +0000</pubDate>
		<dc:creator>John Muchow</dc:creator>
				<category><![CDATA[Debugging]]></category>

		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=11480</guid>
		<description><![CDATA[<p><a href="http://MobileDeveloperTips.com/debugging/remove-debug-code-for-release-build.html">Remove Debug Code For Release Build</a> is protected by Copyright © <a href="http://MobileDeveloperTips.com">MobileDeveloperTips.com</a> 2008-2012 • All Rights Reserved</p>
Remove Debug Code For Release Build is protected by Copyright © MobileDeveloperTips.com 2008-2012 • All Rights Reserved When it&#8217;s time to remove debug code and log messasges from your application, it&#8217;s straight forward if you follow a few simple steps during development. First, wrap debugging code in a block similar to the following: #ifdef DEBUG [...]
Related posts:<ol>
<li><a href='http://MobileDeveloperTips.com/debugging/debugging-macros.html' rel='bookmark' title='Debugging Macros'>Debugging Macros</a></li>
<li><a href='http://MobileDeveloperTips.com/debugging/yet-another-debug-output-nslog-replacement.html' rel='bookmark' title='Yet Another Debug Output (NSLog Replacement)'>Yet Another Debug Output (NSLog Replacement)</a></li>
<li><a href='http://MobileDeveloperTips.com/objective-c/conditional-compilation.html' rel='bookmark' title='Conditional Compilation'>Conditional Compilation</a></li>
</ol>]]></description>
		<wfw:commentRss>http://MobileDeveloperTips.com/debugging/remove-debug-code-for-release-build.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Debugging with GDB: Print-Object and UIView recursiveDescription</title>
		<link>http://MobileDeveloperTips.com/debugging/debugging-with-gdb-print-object-and-uiview-recursivedescription.html</link>
		<comments>http://MobileDeveloperTips.com/debugging/debugging-with-gdb-print-object-and-uiview-recursivedescription.html#comments</comments>
		<pubDate>Mon, 30 Jan 2012 07:09:56 +0000</pubDate>
		<dc:creator>John Muchow</dc:creator>
				<category><![CDATA[Debugging]]></category>

		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=10996</guid>
		<description><![CDATA[<p><a href="http://MobileDeveloperTips.com/debugging/debugging-with-gdb-print-object-and-uiview-recursivedescription.html">Debugging with GDB: Print-Object and UIView recursiveDescription</a> is protected by Copyright © <a href="http://MobileDeveloperTips.com">MobileDeveloperTips.com</a> 2008-2012 • All Rights Reserved</p>
Debugging with GDB: Print-Object and UIView recursiveDescription is protected by Copyright © MobileDeveloperTips.com 2008-2012 • All Rights Reserved In the post Debugging with GDB: Introduction to Commands, Print and Print-Object I covered the basics of the command line inteface in GDB. In this post I&#8217;ll show you a trick to print out the entire view [...]
Related posts:<ol>
<li><a href='http://MobileDeveloperTips.com/debugging/debugging-with-gdb-introduction-to-commands.html' rel='bookmark' title='Debugging with GDB: Introduction to Commands, Print and Print-Object'>Debugging with GDB: Introduction to Commands, Print and Print-Object</a></li>
<li><a href='http://MobileDeveloperTips.com/objective-c/where-is-my-object-retained.html' rel='bookmark' title='Where is My Object Retained?'>Where is My Object Retained?</a></li>
<li><a href='http://MobileDeveloperTips.com/cocoa/overriding-nsobject-description-method.html' rel='bookmark' title='Overriding NSObject Description Method'>Overriding NSObject Description Method</a></li>
</ol>]]></description>
		<wfw:commentRss>http://MobileDeveloperTips.com/debugging/debugging-with-gdb-print-object-and-uiview-recursivedescription.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Updated: Tracking Down EXC_BAD_ACCESS Errors with NSZombieEnabled in Xcode 4</title>
		<link>http://MobileDeveloperTips.com/debugging/updated-tracking-down-exc_bad_access-errors-with-nszombieenabled-in-xcode-4.html</link>
		<comments>http://MobileDeveloperTips.com/debugging/updated-tracking-down-exc_bad_access-errors-with-nszombieenabled-in-xcode-4.html#comments</comments>
		<pubDate>Fri, 27 Jan 2012 03:04:16 +0000</pubDate>
		<dc:creator>John Muchow</dc:creator>
				<category><![CDATA[Debugging]]></category>

		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=10972</guid>
		<description><![CDATA[<p><a href="http://MobileDeveloperTips.com/debugging/updated-tracking-down-exc_bad_access-errors-with-nszombieenabled-in-xcode-4.html">Updated: Tracking Down EXC_BAD_ACCESS Errors with NSZombieEnabled in Xcode 4</a> is protected by Copyright © <a href="http://MobileDeveloperTips.com">MobileDeveloperTips.com</a> 2008-2012 • All Rights Reserved</p>
Updated: Tracking Down EXC_BAD_ACCESS Errors with NSZombieEnabled in Xcode 4 is protected by Copyright © MobileDeveloperTips.com 2008-2012 • All Rights Reserved In a previous post Tracking Down EXC_BAD_ACCESS Errors with NSZombieEnabled I explained how the environment variable NSZombieEnabled can help track down EXC_BAD_ACCESS errors, which are typically caused by attempting to access objects that have [...]
Related posts:<ol>
<li><a href='http://MobileDeveloperTips.com/debugging/tracking-down-exc_bad_access-errors-with-nszombieenabled.html' rel='bookmark' title='Tracking Down EXC_BAD_ACCESS Errors with NSZombieEnabled'>Tracking Down EXC_BAD_ACCESS Errors with NSZombieEnabled</a></li>
<li><a href='http://MobileDeveloperTips.com/cocoa/compare-nsstrings-objects.html' rel='bookmark' title='Compare NSString Objects (Updated)'>Compare NSString Objects (Updated)</a></li>
<li><a href='http://MobileDeveloperTips.com/xcode/download-and-install-older-versions-of-xcode-xcode-previous-releases.html' rel='bookmark' title='Download and Install Older Versions of Xcode (Xcode Previous Releases)'>Download and Install Older Versions of Xcode (Xcode Previous Releases)</a></li>
</ol>]]></description>
		<wfw:commentRss>http://MobileDeveloperTips.com/debugging/updated-tracking-down-exc_bad_access-errors-with-nszombieenabled-in-xcode-4.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Debugging with GDB: Introduction to Commands, Print and Print-Object</title>
		<link>http://MobileDeveloperTips.com/debugging/debugging-with-gdb-introduction-to-commands.html</link>
		<comments>http://MobileDeveloperTips.com/debugging/debugging-with-gdb-introduction-to-commands.html#comments</comments>
		<pubDate>Tue, 10 Jan 2012 08:01:40 +0000</pubDate>
		<dc:creator>John Muchow</dc:creator>
				<category><![CDATA[Debugging]]></category>

		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=10886</guid>
		<description><![CDATA[<p><a href="http://MobileDeveloperTips.com/debugging/debugging-with-gdb-introduction-to-commands.html">Debugging with GDB: Introduction to Commands, Print and Print-Object</a> is protected by Copyright © <a href="http://MobileDeveloperTips.com">MobileDeveloperTips.com</a> 2008-2012 • All Rights Reserved</p>
Debugging with GDB: Introduction to Commands, Print and Print-Object is protected by Copyright © MobileDeveloperTips.com 2008-2012 • All Rights Reserved GDB is the debugging system built into Xcode. Xcode handles much of the interaction with GDB to provide support for breakpoints, stepping through/over code, wowever, GBD also provides a command line that you can use [...]
Related posts:<ol>
<li><a href='http://MobileDeveloperTips.com/debugging/objective-c-expressions-for-debugging.html' rel='bookmark' title='Objective-C Expressions for Debugging'>Objective-C Expressions for Debugging</a></li>
<li><a href='http://MobileDeveloperTips.com/cocoa/nsnotification-userinfo-and-object-methods.html' rel='bookmark' title='NSNotification, UserInfo and Object Methods'>NSNotification, UserInfo and Object Methods</a></li>
<li><a href='http://MobileDeveloperTips.com/objective-c/introduction-to-blocks-in-objective-c-%e2%80%93-part-2.html' rel='bookmark' title='Introduction to Blocks in Objective-C – Part 2'>Introduction to Blocks in Objective-C – Part 2</a></li>
</ol>]]></description>
		<wfw:commentRss>http://MobileDeveloperTips.com/debugging/debugging-with-gdb-introduction-to-commands.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Objective-C Expressions for Debugging</title>
		<link>http://MobileDeveloperTips.com/debugging/objective-c-expressions-for-debugging.html</link>
		<comments>http://MobileDeveloperTips.com/debugging/objective-c-expressions-for-debugging.html#comments</comments>
		<pubDate>Thu, 01 Dec 2011 12:43:41 +0000</pubDate>
		<dc:creator>John Muchow</dc:creator>
				<category><![CDATA[Debugging]]></category>

		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=10633</guid>
		<description><![CDATA[<p><a href="http://MobileDeveloperTips.com/debugging/objective-c-expressions-for-debugging.html">Objective-C Expressions for Debugging</a> is protected by Copyright © <a href="http://MobileDeveloperTips.com">MobileDeveloperTips.com</a> 2008-2012 • All Rights Reserved</p>
Objective-C Expressions for Debugging is protected by Copyright © MobileDeveloperTips.com 2008-2012 • All Rights Reserved In a previous post I wrote about preprocessor macros that provide filename, line number and function information to aid in debugging. A short example follows: - &#40;void&#41;buttonPressed:&#40;UIButton *&#41;button &#123; NSLog&#40;@&#34;\n Function: %s\n Pretty function: %s\n Line: %d\n File: %s\n Object: [...]
Related posts:<ol>
<li><a href='http://MobileDeveloperTips.com/objective-c/objective-c-comment-styles.html' rel='bookmark' title='Objective-C Comment Styles'>Objective-C Comment Styles</a></li>
<li><a href='http://MobileDeveloperTips.com/graphics/how-to-scale-an-image-using-an-objective-c-category.html' rel='bookmark' title='Resize/Scale of an Image &#8211; Take 1 &#8211; Using an Objective-C Category'>Resize/Scale of an Image &#8211; Take 1 &#8211; Using an Objective-C Category</a></li>
<li><a href='http://MobileDeveloperTips.com/objective-c/objective-c-object-as-a-c-structure.html' rel='bookmark' title='Objective-C Object as a C Structure'>Objective-C Object as a C Structure</a></li>
</ol>]]></description>
		<wfw:commentRss>http://MobileDeveloperTips.com/debugging/objective-c-expressions-for-debugging.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Xcode 4 : Debug Breakpoints, Conditions and Actions</title>
		<link>http://MobileDeveloperTips.com/debugging/xcode-4-debug-breakpoints-conditions-actions-and-ignore.html</link>
		<comments>http://MobileDeveloperTips.com/debugging/xcode-4-debug-breakpoints-conditions-actions-and-ignore.html#comments</comments>
		<pubDate>Wed, 09 Nov 2011 09:11:38 +0000</pubDate>
		<dc:creator>John Muchow</dc:creator>
				<category><![CDATA[Debugging]]></category>

		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=10570</guid>
		<description><![CDATA[<p><a href="http://MobileDeveloperTips.com/debugging/xcode-4-debug-breakpoints-conditions-actions-and-ignore.html">Xcode 4 : Debug Breakpoints, Conditions and Actions</a> is protected by Copyright © <a href="http://MobileDeveloperTips.com">MobileDeveloperTips.com</a> 2008-2012 • All Rights Reserved</p>
Xcode 4 : Debug Breakpoints, Conditions and Actions is protected by Copyright © MobileDeveloperTips.com 2008-2012 • All Rights Reserved I recently bumped into a few new debugging features in Xcode 4 while looking at breakpoint options. To show how this works, let&#8217;s look at a small block of code where I&#8217;ve already set a breakpoint [...]
Related posts:<ol>
<li><a href='http://MobileDeveloperTips.com/xcode/xcode-code-completion-macros.html' rel='bookmark' title='Xcode Code Completion Macros'>Xcode Code Completion Macros</a></li>
<li><a href='http://MobileDeveloperTips.com/debugging/working-with-assertions.html' rel='bookmark' title='Working with Assertions to Debug your Apps'>Working with Assertions to Debug your Apps</a></li>
<li><a href='http://MobileDeveloperTips.com/debugging/yet-another-debug-output-nslog-replacement.html' rel='bookmark' title='Yet Another Debug Output (NSLog Replacement)'>Yet Another Debug Output (NSLog Replacement)</a></li>
</ol>]]></description>
		<wfw:commentRss>http://MobileDeveloperTips.com/debugging/xcode-4-debug-breakpoints-conditions-actions-and-ignore.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Locating Crash Reports</title>
		<link>http://MobileDeveloperTips.com/debugging/locating-crash-reports.html</link>
		<comments>http://MobileDeveloperTips.com/debugging/locating-crash-reports.html#comments</comments>
		<pubDate>Mon, 19 Sep 2011 06:21:57 +0000</pubDate>
		<dc:creator>John Muchow</dc:creator>
				<category><![CDATA[Debugging]]></category>

		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=9919</guid>
		<description><![CDATA[<p><a href="http://MobileDeveloperTips.com/debugging/locating-crash-reports.html">Locating Crash Reports</a> is protected by Copyright © <a href="http://MobileDeveloperTips.com">MobileDeveloperTips.com</a> 2008-2012 • All Rights Reserved</p>
Locating Crash Reports is protected by Copyright © MobileDeveloperTips.com 2008-2012 • All Rights Reserved If an applications crashs while running on a device, iOS logs the errors and creates a crash report. The report includes specifics about the OS version, date/time, the exception type, a stack trace, among other details. Below is a partial listing [...]
Related posts:<ol>
<li><a href='http://MobileDeveloperTips.com/itunes/accessing-itunes-reports-when-itunes-is-closed.html' rel='bookmark' title='Accessing iTunes Reports When iTunes is Closed'>Accessing iTunes Reports When iTunes is Closed</a></li>
</ol>]]></description>
		<wfw:commentRss>http://MobileDeveloperTips.com/debugging/locating-crash-reports.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Share and Copy Files Between an App and iTunes</title>
		<link>http://MobileDeveloperTips.com/debugging/using-uifilesharingenabled-for-creating-debug-log-files.html</link>
		<comments>http://MobileDeveloperTips.com/debugging/using-uifilesharingenabled-for-creating-debug-log-files.html#comments</comments>
		<pubDate>Mon, 12 Sep 2011 07:27:50 +0000</pubDate>
		<dc:creator>John Muchow</dc:creator>
				<category><![CDATA[Debugging]]></category>

		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=9127</guid>
		<description><![CDATA[<p><a href="http://MobileDeveloperTips.com/debugging/using-uifilesharingenabled-for-creating-debug-log-files.html">Share and Copy Files Between an App and iTunes</a> is protected by Copyright © <a href="http://MobileDeveloperTips.com">MobileDeveloperTips.com</a> 2008-2012 • All Rights Reserved</p>
Share and Copy Files Between an App and iTunes is protected by Copyright © MobileDeveloperTips.com 2008-2012 • All Rights Reserved You can share files between an iOS app and your Mac using file sharing via iTunes. Using file sharing the contents of your application&#8217;s Documents directory is available in iTunes. This also works the other [...]
Related posts:<ol>
<li><a href='http://MobileDeveloperTips.com/data-file-management/iphone-file-system-creating-renaming-and-deleting-files.html' rel='bookmark' title='iPhone File System: Creating, Renaming and Deleting Files'>iPhone File System: Creating, Renaming and Deleting Files</a></li>
<li><a href='http://MobileDeveloperTips.com/data-file-management/read-and-write-array-dictionary-and-other-collections-to-files.html' rel='bookmark' title='Read and Write Array, Dictionary and Other Collections to Files'>Read and Write Array, Dictionary and Other Collections to Files</a></li>
<li><a href='http://MobileDeveloperTips.com/xcode/where-does-xcode-simulator-write-files.html' rel='bookmark' title='Where Does Xcode Simulator Write Files?'>Where Does Xcode Simulator Write Files?</a></li>
</ol>]]></description>
		<wfw:commentRss>http://MobileDeveloperTips.com/debugging/using-uifilesharingenabled-for-creating-debug-log-files.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Exceptions &#8211; Try, Catch and Finally</title>
		<link>http://MobileDeveloperTips.com/debugging/exceptions-try-catch-and-finally.html</link>
		<comments>http://MobileDeveloperTips.com/debugging/exceptions-try-catch-and-finally.html#comments</comments>
		<pubDate>Mon, 15 Aug 2011 09:04:02 +0000</pubDate>
		<dc:creator>John Muchow</dc:creator>
				<category><![CDATA[Debugging]]></category>

		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=9448</guid>
		<description><![CDATA[<p><a href="http://MobileDeveloperTips.com/debugging/exceptions-try-catch-and-finally.html">Exceptions &#8211; Try, Catch and Finally</a> is protected by Copyright © <a href="http://MobileDeveloperTips.com">MobileDeveloperTips.com</a> 2008-2012 • All Rights Reserved</p>
Exceptions &#8211; Try, Catch and Finally is protected by Copyright © MobileDeveloperTips.com 2008-2012 • All Rights Reserved You won&#8217;t find exceptions used as frequently in Objective-C as in other languages. However, try/catch/finally blocks can be useful to capture errors that may otherwise cause an app to fail. In the example below, I allocate an array, [...]
Related posts:<ol>
<li><a href='http://MobileDeveloperTips.com/objective-c/c-on-iphone-part-2-exceptions.html' rel='bookmark' title='C++ on iPhone: Part 2, Exceptions'>C++ on iPhone: Part 2, Exceptions</a></li>
<li><a href='http://MobileDeveloperTips.com/debugging/working-with-assertions.html' rel='bookmark' title='Working with Assertions to Debug your Apps'>Working with Assertions to Debug your Apps</a></li>
<li><a href='http://MobileDeveloperTips.com/objective-c/fast-enumeration-on-the-iphone.html' rel='bookmark' title='Fast Enumeration on the iPhone'>Fast Enumeration on the iPhone</a></li>
</ol>]]></description>
		<wfw:commentRss>http://MobileDeveloperTips.com/debugging/exceptions-try-catch-and-finally.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

