Commit 44c14962 authored by hjk's avatar hjk

pdbengine: de-bitrot

Change-Id: I0a54370379d3b27824641c41c3499e4bd2056181
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 52ead77b
......@@ -369,6 +369,8 @@ void PdbEngine::handleBreakInsert(const PdbResponse &response)
br.fileName = _(file);
br.lineNumber = line.toInt();
handler->setResponse(id, br);
QTC_CHECK(!handler->needsChange(id));
handler->notifyBreakpointInsertOk(id);
}
void PdbEngine::removeBreakpoint(BreakpointModelId id)
......@@ -717,6 +719,7 @@ void PdbEngine::updateAll()
void PdbEngine::updateLocals()
{
WatchHandler *handler = watchHandler();
handler->beginCycle(true);
QByteArray watchers;
//if (!m_toolTipExpression.isEmpty())
......@@ -781,6 +784,7 @@ void PdbEngine::handleBacktrace(const PdbResponse &response)
frame.file = _(fileName);
frame.line = lineNumber;
frame.function = _(line.mid(pos2 + 1));
frame.usable = QFileInfo(frame.file).isReadable();
if (frame.line > 0 && QFileInfo(frame.file).exists()) {
if (line.startsWith("> "))
currentIndex = level;
......@@ -826,6 +830,7 @@ void PdbEngine::handleListLocals(const PdbResponse &response)
parseWatchData(handler->expandedINames(), dummy, child, &list);
}
handler->insertBulkData(list);
handler->endCycle();
}
bool PdbEngine::hasCapability(unsigned cap) const
......
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