D10195: DrKonqi: Enable DBus-Interface for debugging with KDevelop

Christoph Roick noreply at phabricator.kde.org
Tue Jan 30 22:26:05 UTC 2018


croick created this revision.
croick added a reviewer: KDevelop.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
croick requested review of this revision.

REVISION SUMMARY
  - register a DBus service to make it work at all
  - service name unique by debuggee pid
  - switch hierarchy of adaptor and launcher
    - a single adaptor keeps track of multiple launchers
    - the debugger should provide a unique identification
  - only works with a corresponding patch in KDevelop

TEST PLAN
  - apply KDevelop patch and start a new KDevelop session "test"
  - enable the DrKonqi debug button
  - enable ptrace
  - start a kde program (kate for instance)
  - start "drkonqi --dialog --appname kate --pid xxxx"
  - check Debug options: gdb, KDevelop (GDB) - test, KDevelop (LLDB) - test
  - start another KDevelop session "test2" -> additional debug options are now available
  - end session "test2" -> additional options vanished again
  - select "KDevelop (GDB) - test" -> KDevelop raises, DrKonqi buttons are disabled
  - use the GDB console to detach the process and end GDB
  - DrKonqi buttons are reenabled again

REPOSITORY
  R871 DrKonqi

BRANCH
  kdevelopdbus

REVISION DETAIL
  https://phabricator.kde.org/D10195

AFFECTED FILES
  src/README
  src/debuggerlaunchers.cpp
  src/debuggerlaunchers.h
  src/debuggermanager.cpp
  src/debuggermanager.h

To: croick, #kdevelop
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180130/769448fc/attachment.html>


More information about the Plasma-devel mailing list