MCPcopy Create free account
hub / github.com/KDE/kdevelop / slotDebugExternalProcess

Method slotDebugExternalProcess

plugins/debuggercommon/midebuggerplugin.cpp:194–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192MIDebuggerPlugin::~MIDebuggerPlugin() { }
193
194void 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
207MIDebugSession* MIDebuggerPlugin::createSession()
208{

Callers

nothing calls this directly

Calls 5

uiControllerMethod · 0.80
interfaceMethod · 0.45
isValidMethod · 0.45
valueMethod · 0.45
activeMainWindowMethod · 0.45

Tested by

no test coverage detected