D10196: Enable connection of Debuggers to DrKonqi
Christoph Roick
noreply at phabricator.kde.org
Tue Jan 30 22:44:00 UTC 2018
croick created this revision.
croick added a reviewer: KDevelop.
Restricted Application added a subscriber: kdevelop-devel.
croick requested review of this revision.
REVISION SUMMARY
- allows each debugger plugin of each active session to be selected for process attachment in DrKonqi
- adds callbacks for end of debugging and closing of the plugin
- removes QSignalMapper dependence
- uses "obsolete" QDBusConnectionInterface::serviceOwnerChanged due to lack of alternatives
TEST PLAN
- apply DrKonqi patch https://phabricator.kde.org/D10195 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
R32 KDevelop
BRANCH
dbusdrkonqi
REVISION DETAIL
https://phabricator.kde.org/D10196
AFFECTED FILES
plugins/debuggercommon/midebuggerplugin.cpp
plugins/debuggercommon/midebuggerplugin.h
To: croick, #kdevelop
Cc: kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20180130/07bd8951/attachment.html>
More information about the KDevelop-devel
mailing list