Skip to content
Commit 2c0f0449 authored by Christoph Roick's avatar Christoph Roick
Browse files

DrKonqi: Enable DBus-Interface for debugging with KDevelop

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 D10196 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

Reviewers: #kdevelop, #plasma_workspaces, mwolff

Reviewed By: #kdevelop, mwolff

Subscribers: mwolff, ngraham, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D10195
parent b974c140
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment