Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.
On Linux, you can examine /proc/$PID/stack. Is there an equivalent on OSX?
Maybe this is what you are looking for?
It will display detailed info about process: