diff options
author | hjk <qtc-committer@nokia.com> | 2009-08-13 10:16:47 +0200 |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2009-08-13 13:18:32 +0200 |
commit | 71302eab8f0655b7338a469a0a5b2efb62fac9f3 (patch) | |
tree | 03ecbecc207725af62d38f6731169c3879f7c2cb /src/plugins/debugger | |
parent | 9141727beeae1cdde5fa6acb738af1b48d84369b (diff) | |
download | qt-creator-71302eab8f0655b7338a469a0a5b2efb62fac9f3.tar.gz |
debugger: re-enable all dumpers that are usable in bootstrapped applications
Diffstat (limited to 'src/plugins/debugger')
-rw-r--r-- | src/plugins/debugger/debuggermanager.cpp | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/plugins/debugger/debuggermanager.cpp b/src/plugins/debugger/debuggermanager.cpp index 02907cc5fc..d2786d6dee 100644 --- a/src/plugins/debugger/debuggermanager.cpp +++ b/src/plugins/debugger/debuggermanager.cpp @@ -846,7 +846,8 @@ void DebuggerManager::startNewDebugger(DebuggerRunControl *runControl, const QString toolChainName = ProjectExplorer::ToolChain::toolChainName(static_cast<ProjectExplorer::ToolChain::ToolChainType>(m_startParameters->toolChainType)); emit debugModeRequested(); - showDebuggerOutput(LogStatus, tr("Starting debugger for tool chain '%1'...").arg(toolChainName)); + showDebuggerOutput(LogStatus, + tr("Starting debugger for tool chain '%1'...").arg(toolChainName)); showDebuggerOutput(LogDebug, DebuggerSettings::instance()->dump()); QString errorMessage; @@ -868,8 +869,10 @@ void DebuggerManager::startNewDebugger(DebuggerRunControl *runControl, debuggingFinished(); // Create Message box with possibility to go to settings QAbstractButton *settingsButton = 0; - QMessageBox msgBox(QMessageBox::Warning, tr("Warning"), tr("Cannot debug '%1' (tool chain: '%2'): %3"). - arg(m_startParameters->executable, toolChainName, errorMessage), QMessageBox::Ok); + QMessageBox msgBox(QMessageBox::Warning, tr("Warning"), + tr("Cannot debug '%1' (tool chain: '%2'): %3"). + arg(m_startParameters->executable, toolChainName, errorMessage), + QMessageBox::Ok); if (!settingsIdHint.isEmpty()) settingsButton = msgBox.addButton(tr("Settings..."), QMessageBox::AcceptRole); msgBox.exec(); @@ -1144,14 +1147,15 @@ static bool isAllowedTransition(int from, int to) void DebuggerManager::setStatus(int status) { if (Debugger::Constants::Internal::debug) - qDebug() << Q_FUNC_INFO << "STATUS CHANGE: from" << stateName(m_status) << "to" << stateName(status); + qDebug() << Q_FUNC_INFO << "STATUS CHANGE: from" << stateName(m_status) + << "to" << stateName(status); if (status == m_status) return; if (0 && !isAllowedTransition(m_status, status)) { - const QString msg = QString::fromLatin1("%1: UNEXPECTED TRANSITION: %2 -> %3"). - arg(_(Q_FUNC_INFO), _(stateName(m_status)), _(stateName(status))); + const QString msg = QString::fromLatin1("%1: UNEXPECTED TRANSITION: %2 -> %3") + .arg(_(Q_FUNC_INFO), _(stateName(m_status)), _(stateName(status))); qWarning("%s", qPrintable(msg)); } |