<table><tr><td style="">croick created this revision.<br />croick added a reviewer: KDevelop.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.<br />croick requested review of this revision.
</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/D10195" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><ul class="remarkup-list">
<li class="remarkup-list-item">register a DBus service to make it work at all</li>
<li class="remarkup-list-item">service name unique by debuggee pid</li>
<li class="remarkup-list-item">switch hierarchy of adaptor and launcher<ul class="remarkup-list">
<li class="remarkup-list-item">a single adaptor keeps track of multiple launchers</li>
<li class="remarkup-list-item">the debugger should provide a unique identification</li>
</ul></li>
<li class="remarkup-list-item">only works with a corresponding patch in KDevelop</li>
</ul></div></div><br /><div><strong>TEST PLAN</strong><div><ul class="remarkup-list">
<li class="remarkup-list-item">apply KDevelop patch and start a new KDevelop session "test"</li>
<li class="remarkup-list-item">enable the DrKonqi debug button</li>
<li class="remarkup-list-item">enable ptrace</li>
<li class="remarkup-list-item">start a kde program (kate for instance)</li>
<li class="remarkup-list-item">start "drkonqi --dialog --appname kate --pid xxxx"</li>
<li class="remarkup-list-item">check Debug options: gdb, KDevelop (GDB) - test, KDevelop (LLDB) - test</li>
<li class="remarkup-list-item">start another KDevelop session "test2" -> additional debug options are now available</li>
<li class="remarkup-list-item">end session "test2" -> additional options vanished again</li>
<li class="remarkup-list-item">select "KDevelop (GDB) - test" -> KDevelop raises, DrKonqi buttons are disabled</li>
<li class="remarkup-list-item">use the GDB console to detach the process and end GDB</li>
<li class="remarkup-list-item">DrKonqi buttons are reenabled again</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R871 DrKonqi</div></div></div><br /><div><strong>BRANCH</strong><div><div>kdevelopdbus</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D10195" rel="noreferrer">https://phabricator.kde.org/D10195</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/README<br />
src/debuggerlaunchers.cpp<br />
src/debuggerlaunchers.h<br />
src/debuggermanager.cpp<br />
src/debuggermanager.h</div></div></div><br /><div><strong>To: </strong>croick, KDevelop<br /><strong>Cc: </strong>plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>