I gave up on running lldb as a sub-process (even after giving it permissions to attach, it causes lldb, debugserver, and Activity Monitor to hang with 100% CPU). Instead I use something like the above with /usr/bin/sample to get a backtrace when an assertion fails in my debug builds. (spindump must be run as root, so it is useless here)
Topic:
App & System Services
SubTopic:
Core OS
Tags: