On Linux, you can examine /proc/$PID/stack
. Is there an equivalent on OSX?
1 Answer
Maybe this is what you are looking for?
- Open Activity Monitor.
- Select the target process.
- Click on the gear icon in top left.
- Select "Sample Process" from appeared menu.
-
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.– fsbFeb 10, 2017 at 13:52
-
WOW!! I didn't know about that! I was trying to get something like this with lldb without success... Thanks!! +1! May 29, 2019 at 8:54
-