As touched upon previously, DrKonqi is a utility that can be very useful outside of Plasma desktop environments too, and as such it should at the very least have basic support for the lldb debugger. This is not only of interest outside of Plasma; FreeBSD uses clang as its system compiler (AFAIK), and it will thus probably also use lldb as its default debugger.
This patch introduces that support, providing useful backtraces in bug tickets created through DrKonqi. Attaching lldb to the crashed executable is currently done through a wrapper script that invokes Apple's Terminal.app . That could probably be improved in the future, possibly even by attaching Xcode to the application.
I've included a few minor adaptations for use of DrKonqi outside of Plasma DEs (preserve existing app/window icons when QIcon::fromTheme() fails and forcing DrKonqi to the foreground on Mac).