diff options
author | hjk <qthjk@ovi.com> | 2012-08-09 03:43:07 +0200 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2012-08-09 03:49:18 +0200 |
commit | e537aa62d8d2d35bb9015161e0a7a1de28ccdcd0 (patch) | |
tree | 1a4bbc953b70335098300f4e80cad1b31d09d87d /src/plugins/debugger/debuggerplugin.cpp | |
parent | 32ebcb02974de4e00fe6aa5e23298f46e3b1b85a (diff) | |
download | qt-creator-e537aa62d8d2d35bb9015161e0a7a1de28ccdcd0.tar.gz |
debugger: remove dead code
Change-Id: I959be322f030f08f8ec1692751545f3bb5f62aee
Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r-- | src/plugins/debugger/debuggerplugin.cpp | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index 74fc095848..8832acef36 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -1520,45 +1520,6 @@ void DebuggerPluginPrivate::startExternalApplication() startDebugger(rc); } -//void DebuggerPluginPrivate::attachToLocalProcessHelper() -//{ -// AttachExternalDialog dlg(mainWindow()); -// dlg.setProfileIndex(configValue(_("LastAttachExternalProfileIndex")).toInt()); - -// if (dlg.exec() != QDialog::Accepted) -// return; - -// if (dlg.attachPID() == 0) { -// QMessageBox::warning(mainWindow(), tr("Warning"), -// tr("Cannot attach to process with PID 0")); -// return; -// } - -// setConfigValue(_("LastAttachExternalProfileIndex"), QVariant(dlg.profileIndex())); - -// DebuggerStartParameters sp; -// fillParameters(&sp, dlg.profileId()); -// sp.attachPID = dlg.attachPID(); -// sp.displayName = tr("Process %1").arg(dlg.attachPID()); -// sp.executable = dlg.executable(); -// sp.startMode = AttachExternal; -// sp.closeMode = DetachAtClose; -// if (DebuggerRunControl *rc = createDebugger(sp)) -// startDebugger(rc); -//} - -//void DebuggerPluginPrivate::attachToLocalProcess(RunControl *rc) -//{ -// DebuggerStartParameters sp; -// fillParameters(&sp, ProfileManager::instance()->defaultProfile()->id()); // FIXME: Extract from rc. -// sp.attachPID = rc->applicationProcessHandle().pid(); -// sp.displayName = tr("Debugger attached to %1").arg(rc->displayName()); -// sp.startMode = AttachExternal; -// sp.closeMode = DetachAtClose; -// if (DebuggerRunControl *rc = createDebugger(sp)) -// startDebugger(rc); -//} - void DebuggerPluginPrivate::attachCore() { AttachCoreDialog dlg(mainWindow()); |