• 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: Thread viewer tool ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Thread viewer tool ?


  • Subject: Re: Thread viewer tool ?
  • From: Dave Payne <email@hidden>
  • Date: Tue, 25 Oct 2005 09:49:21 -0700

Mark, try /usr/bin/sample

See the sample(1) man page, which is slightly incorrect in that the samplingInterval argument is not required (it defaults to 10 milliseconds).

/Developer/Applications/Performance Tools/Sampler.app  uses the same mechanism that the 'sample' command line tool does.  You can also try the 'shark' command line tool and Shark.app;  Shark.app has more features than Sampler.app.  For quick sampling from the command line, 'sample' often suffices.

- Dave


Mark Thomas wrote:

Yes know about that tool, but it takes some understanding on how it works,

and also getting information sent back is difficult, for remote debugging.


That's why I remember about the command line tool, I used on a Solaris

system, as I could capture all the output into a text file, and have the

user send me that.


Thanks

Mark.


Message: 4

Date: Mon, 24 Oct 2005 16:31:13 -0400

From: Rich Siegel <email@hidden>

Subject: Re: Thread viewer tool ?

To: email@hidden

Message-ID:

<email@hidden">email@hidden>

Content-Type: text/plain; charset=US-ASCII


On 10/24/05 at 9:18 PM, Mark Thomas <email@hidden> wrote:


  Does anyone know if there is a command line tool which can be ran

  on a particular process and will dump the state of the current

  process threads with stack crawls ..etc ?, as I use to use one on a

  solaris system, but cannot find the equivalent with Xcode ?.


Well, GDB can do that if you attach to a process, but there's also

/Developer/Applications/Performance Tools/Thread Viewer.


Enjoy,


R.


 _______________________________________________
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

  • Follow-Ups:
    • Re: Thread viewer tool ?
      • From: Daniel Jalkut <email@hidden>
  • Prev by Date: Re: static libraries
  • Next by Date: Scripting adding files to a project
  • Previous by thread: Re: Thread viewer tool ?
  • Next by thread: Re: Thread viewer tool ?
  • Index(es):
    • Date
    • Thread