Commit 7789fcd7 authored by Christoph Roick's avatar Christoph Roick

Provide debugger name and pid when registering a debugger to DrKonqi

Summary: Adapts the DBus call to the change in DrKonqi commit 9f3cfcff960c.

Test Plan:
Use the debug button in DrKonqi to attach a crashed application
to a debugger in KDevelop.

Reviewers: #kdevelop, mwolff

Reviewed By: #kdevelop, mwolff

Subscribers: mwolff, kdevelop-devel

Tags: #kdevelop

Differential Revision:
parent 614b7557
......@@ -179,7 +179,7 @@ void MIDebuggerPlugin::slotDBusOwnerChanged(const QString& service, const QStrin
connect(drkonqiProxy, &DBusProxy::debugProcess,
this, &MIDebuggerPlugin::slotDebugExternalProcess);
drkonqiProxy->interface()->call(QStringLiteral("registerDebuggingApplication"), name);
drkonqiProxy->interface()->call(QStringLiteral("registerDebuggingApplication"), name, QCoreApplication::applicationPid());
} else if (newOwner.isEmpty() && service.startsWith(QLatin1String("org.kde.drkonqi"))) {
// Deregistration
const auto proxyIt = m_drkonqis.find(service);
Markdown is supported
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