diff options
| author | hjk <qtc-committer@nokia.com> | 2009-04-15 15:41:21 +0200 |
|---|---|---|
| committer | hjk <qtc-committer@nokia.com> | 2009-04-15 15:41:21 +0200 |
| commit | e61fa399ed1a2b8c418ad7c80683d20d67621abc (patch) | |
| tree | 55d8d4ffa5a57b620b679801c113503d188dcdfd /src/plugins/debugger/gdbengine.cpp | |
| parent | e39d006ffb2223ff42bdfd32e561cdf09268a2eb (diff) | |
| download | qt-creator-e61fa399ed1a2b8c418ad7c80683d20d67621abc.tar.gz | |
debugger: also parse PID if the program starts without breakpoints
Diffstat (limited to 'src/plugins/debugger/gdbengine.cpp')
| -rw-r--r-- | src/plugins/debugger/gdbengine.cpp | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/plugins/debugger/gdbengine.cpp b/src/plugins/debugger/gdbengine.cpp index 20c5600258..3171895810 100644 --- a/src/plugins/debugger/gdbengine.cpp +++ b/src/plugins/debugger/gdbengine.cpp @@ -163,6 +163,20 @@ static int ¤tToken() return token; } +static bool isSkippable(int type) +{ + return type == RegisterListValues + && type == StackListThreads + && type == StackListFrames + && type == StackListLocals + && type == StackListArguments + && type == WatchVarAssign + && type == WatchVarListChildren + && type == WatchVarCreate + && type == WatchEvaluateExpression + && type == WatchToolTip; +} + /////////////////////////////////////////////////////////////////////// // // GdbEngine @@ -680,7 +694,7 @@ void GdbEngine::handleResultRecord(const GdbResultRecord &record) GdbCookie cmd = m_cookieForToken.take(token); - if (record.token < m_oldestAcceptableToken) { + if (record.token < m_oldestAcceptableToken && isSkippable(cmd.type)) { //qDebug() << "### SKIPPING OLD RESULT " << record.toString(); //QMessageBox::information(m_mainWindow, tr("Skipped"), "xxx"); return; |
