Commit 17992152 authored by hjk's avatar hjk Committed by hjk
Browse files

debugger: disable 'target async' in the ui

No real benefits so far.

Task-number: QTCREATORBUG-4682
Change-Id: Ibb416fed09e4e0210a84a51b2cd71189ac01ffa6
Reviewed-on: http://codereview.qt.nokia.com/631

Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent b48ad322
......@@ -702,7 +702,7 @@ void GdbEngine::interruptInferior()
QTC_ASSERT(state() == InferiorStopRequested,
qDebug() << "INTERRUPT INFERIOR: " << state(); return);
if (debuggerCore()->boolSetting(TargetAsync)) {
if (0 && debuggerCore()->boolSetting(TargetAsync)) {
postCommand("-exec-interrupt");
} else {
showStatusMessage(tr("Stop requested..."), 5000);
......@@ -4642,7 +4642,7 @@ bool GdbEngine::startGdb(const QStringList &args, const QString &settingsIdHint)
postCommand("set height 0");
postCommand("set auto-solib-add on");
if (debuggerCore()->boolSetting(TargetAsync)) {
if (0 && debuggerCore()->boolSetting(TargetAsync)) {
postCommand("set target-async on");
postCommand("set non-stop on");
}
......
......@@ -134,6 +134,10 @@ QWidget *GdbOptionsPage::createPage(QWidget *parent)
;
m_searchKeywords.remove(QLatin1Char('&'));
}
// FIXME: Not fully working on the gdb side yet.
m_ui->checkBoxTargetAsync->hide();
return w;
}
......
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