5

On Linux, you can examine /proc/$PID/stack. Is there an equivalent on OSX?

9

Maybe this is what you are looking for?

  1. Open Activity Monitor.
  2. Select the target process.
  3. Click on the gear icon in top left.
  4. Select "Sample Process" from appeared menu.

enter image description here

It will display detailed info about process: enter image description here

  • Welcome to Ask Different. It's always a good idea to add some text describing the images. The text can be picked-up by Search for when others have a similar question. See How to Answer for tips on providing good answers. – fsb Feb 10 '17 at 13:52
  • WOW!! I didn't know about that! I was trying to get something like this with lldb without success... Thanks!! +1! – rmbianchi May 29 at 8:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .