<table><tr><td style="">rjvbb created this revision.<br />rjvbb added a project: Plasma: Workspaces.<br />Restricted Application edited projects, added Plasma; removed Plasma: Workspaces.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D4929" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>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.</p>
<p>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 but that approach is open for discussion.</p>
<p>I've included a few minor adaptations for cross-platform/non Plasma use of DrKonqi (preserve existing app/window icons when QIcon::fromTheme() fails and forcing DrKonqi to the foreground on Mac).</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>This patch has been tested on Mac for over a year now; I have submitted numerous bug reports with it.</p>
<p>The backtrace parser could probably be improved.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D4929" rel="noreferrer">https://phabricator.kde.org/D4929</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>drkonqi/CMakeLists.txt<br />
drkonqi/aboutbugreportingdialog.cpp<br />
drkonqi/backtracegenerator.cpp<br />
drkonqi/backtracegenerator.h<br />
drkonqi/backtracewidget.cpp<br />
drkonqi/bugzillaintegration/reportassistantdialog.cpp<br />
drkonqi/data/AppleTerminal<br />
drkonqi/data/CMakeLists.txt<br />
drkonqi/data/debuggers/external/lldbrc<br />
drkonqi/data/debuggers/internal/lldbrc<br />
drkonqi/debugger.cpp<br />
drkonqi/debugger.h<br />
drkonqi/drkonqibackends.cpp<br />
drkonqi/drkonqidialog.cpp<br />
drkonqi/main.cpp<br />
drkonqi/parser/CMakeLists.txt<br />
drkonqi/parser/backtraceparser.cpp<br />
drkonqi/parser/backtraceparserlldb.cpp<br />
drkonqi/parser/backtraceparserlldb.h</div></div></div><br /><div><strong>To: </strong>rjvbb, Plasma: Workspaces<br /><strong>Cc: </strong>kde-mac, plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol<br /></div>