{"id":4027,"date":"2014-03-30T07:16:32","date_gmt":"2014-03-30T07:16:32","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/what-commands-are-valid-in-console-pane-of-macs-instruments-app-e-g-in-instrument-collection-of-common-programming-errors\/"},"modified":"2014-03-30T07:16:32","modified_gmt":"2014-03-30T07:16:32","slug":"what-commands-are-valid-in-console-pane-of-macs-instruments-app-e-g-in-instrument-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/what-commands-are-valid-in-console-pane-of-macs-instruments-app-e-g-in-instrument-collection-of-common-programming-errors\/","title":{"rendered":"What commands are valid in &ldquo;console pane&rdquo; of Mac&#39;s &ldquo;Instruments&rdquo; app? (E.g., in Instrument)-Collection of common programming errors"},"content":{"rendered":"<p>I&#8217;m running the Mac OS &#8220;Instruments&#8221; app, using the &#8220;Leaks Instrument&#8221; to monitor an iPhone app. The major pane is titled &#8220;Leaked Blocks&#8221;, but if you click on that you get a choice of three: &#8220;Leaked Blocks&#8221;, &#8220;Call Tree&#8221;, and &#8220;Console&#8221;. Click on &#8220;Console&#8221;.<\/p>\n<p>You now have a blank pane &#8230; click in it and hit . In my case, I get:<\/p>\n<p>foo (4259) &gt;<\/p>\n<p>which is my app name and, presumably, the PID it&#8217;s running as.<\/p>\n<p>I can enter commands\/text (e.g., ls, help, exit) &#8230; they get echoed after awhile but nothing else happens.<\/p>\n<p>I.e., it <em>looks<\/em> like a command prompt, but I can&#8217;t figure out what kinds of commands I can give it here! Doesn&#8217;t seem to accept gdb commands, nor &#8220;help&#8221;. Can&#8217;t find a mention of this feature in Apple&#8217;s documents.<\/p>\n<p>Note that if I select a different instrument, e.g. &#8220;Allocations&#8221;, it also has the same console pane &#8230; with the same &#8220;no effect&#8221; when I enter text.<\/p>\n<p>I&#8217;m hoping that whatever commands it has are (a) interesting, and (b) useful to me in debugging a memory leak.<\/p>\n<p>thanks, Stan sieler@me.com<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m running the Mac OS &#8220;Instruments&#8221; app, using the &#8220;Leaks Instrument&#8221; to monitor an iPhone app. The major pane is titled &#8220;Leaked Blocks&#8221;, but if you click on that you get a choice of three: &#8220;Leaked Blocks&#8221;, &#8220;Call Tree&#8221;, and &#8220;Console&#8221;. Click on &#8220;Console&#8221;. You now have a blank pane &#8230; click in it and [&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-4027","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4027","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=4027"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4027\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=4027"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=4027"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=4027"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}