{"id":4144,"date":"2014-03-30T08:17:18","date_gmt":"2014-03-30T08:17:18","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/why-wont-instruments-execute-my-monotouch-application-collection-of-common-programming-errors\/"},"modified":"2014-03-30T08:17:18","modified_gmt":"2014-03-30T08:17:18","slug":"why-wont-instruments-execute-my-monotouch-application-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/why-wont-instruments-execute-my-monotouch-application-collection-of-common-programming-errors\/","title":{"rendered":"Why won&#39;t instruments execute my Monotouch application?-Collection of common programming errors"},"content":{"rendered":"<p>I&#8217;m trying to use Instruments to look at resource usage in my Monotouch app. However, I can&#8217;t get the app to launch through Instruments.<\/p>\n<p>When I hit the record button in Instruments, the app launches on my iPhone, buzzes (signifying it&#8217;s a debug build), then crashes &#8211; and Instruments reports:<\/p>\n<pre><code>Target failed to run: Remote exception encountered : 'Failed to get task for pid 384'\n<\/code><\/pre>\n<p>The app runs fine when I launch it directly on the phone.<\/p>\n<p>I&#8217;ve tried it with debug builds and ad hoc builds (using the parameters defined on the Monotouch support page). Always the same.<\/p>\n<p>I&#8217;m using Monotouch 3.2.5, iOS 4.3.1 (on a 3GS), Xcode 4 and Snow Leopard.<\/p>\n<p>I&#8217;ve see this issued mentioned in a few places around the web, but haven&#8217;t seen a resolution. Anyone know how to resolve it?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m trying to use Instruments to look at resource usage in my Monotouch app. However, I can&#8217;t get the app to launch through Instruments. When I hit the record button in Instruments, the app launches on my iPhone, buzzes (signifying it&#8217;s a debug build), then crashes &#8211; and Instruments reports: Target failed to run: Remote [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4144","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4144","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=4144"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4144\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=4144"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=4144"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=4144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}