| 192 | MIDebuggerPlugin::~MIDebuggerPlugin() { } |
| 193 | |
| 194 | void MIDebuggerPlugin::slotDebugExternalProcess(DBusProxy* proxy) |
| 195 | { |
| 196 | QDBusReply<int> reply = proxy->interface()->call(QStringLiteral("pid")); |
| 197 | if (reply.isValid()) { |
| 198 | connect(attachProcess(reply.value()), &KJob::result, |
| 199 | proxy, &DBusProxy::debuggingFinished); |
| 200 | } |
| 201 | |
| 202 | if (auto* mainWindow = core()->uiController()->activeMainWindow()) { |
| 203 | mainWindow->raise(); |
| 204 | } |
| 205 | } |
| 206 | |
| 207 | MIDebugSession* MIDebuggerPlugin::createSession() |
| 208 | { |
nothing calls this directly
no test coverage detected