title: How do I use stackshot to debug my application?
body: <p>I've recently been told about a useful debugging tool on Mac OS X called <code>stackshot</code>, however I don't know how to invoke it. My understanding from <a href="http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man1/stackshot.1.html" rel="nofollow noreferrer">the documentation</a> is that it runs as a daemon, but the man page also reads as if it can be invoked from the command line. How would I go about leveraging stackshot for my currently-running application?</p>