• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: instruments stall
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: instruments stall


  • Subject: Re: instruments stall
  • From: Ken Thomases <email@hidden>
  • Date: Sun, 12 May 2013 14:10:52 -0500

On May 12, 2013, at 9:10 AM, Scott Ribe wrote:

> So I was trying to run a command-line tool with the leaks tool, and after just a few seconds of operation it stalled. I actually thought Instruments was somehow configured to only record/run for a short length of time, and spent a while trying to find that non-existant pref ;-)
>
> Long story made short, I eventually thought to sample my process while it was stalled under Instruments, and that showed the problem: …

> Yep, lots of debug info onto std::clog, apparently nothing reading that pipe, so as soon as the buffer is full, the process is blocked. I removed my verbose switch, and the test ran to completion just fine. (And no leaks!)
>
> Thing is, this is Xcode 3.2.6--still stuck in the past thanks to support of old systems--my questions:
>
> - Is there any way to view the output while running my process under Instruments? I wanted to do that anyway, regardless of this issue.

There's a console view in the detail view.  It's one of the choices in the pop-up in the "breadcrumb" path control (other choices are Statistics, Sample List, Call Trees, etc.).

Also, you can run the "instruments" command-line tool rather than the GUI app.

Regards,
Ken


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >instruments stall (From: Scott Ribe <email@hidden>)

  • Prev by Date: Re: Unable to compile Cocoa/Objective-C program to C++
  • Next by Date: Re: Unable to compile Cocoa/Objective-C program to C++
  • Previous by thread: instruments stall
  • Next by thread: Unable to compile Cocoa/Objective-C program to C++
  • Index(es):
    • Date
    • Thread