Debugger: Remove 'friend gdbengine' from stackhandler.

Preparing the introduction of tooltips for the new
CDB engine. Fix some breakpoint states in CDB.
This commit is contained in:
Friedemann Kleint
2010-11-22 17:06:08 +01:00
parent 68266eae2e
commit c35672eaa8
5 changed files with 52 additions and 14 deletions

View File

@@ -1096,9 +1096,10 @@ void CdbEngine::assignValueInDebugger(const WatchData *w, const QString &expr, c
v.toString();
}
// Update view
if (WatchData *fwd = watchHandler()->findItem(w->iname)) {
fwd->setValue(newValueObtained);
watchHandler()->insertData(*fwd);
if (const WatchData *fwd = watchHandler()->findItem(w->iname)) {
WatchData modified = *fwd;
modified.setValue(newValueObtained);
watchHandler()->insertData(modified);
watchHandler()->updateWatchers();
}
success = true;
@@ -1319,6 +1320,7 @@ bool CdbEngine::attemptBreakpointSynchronizationI(QString *errorMessage)
}
break;
case BreakpointRemoveRequested:
handler->notifyBreakpointRemoveProceeding(id);
handler->notifyBreakpointRemoveOk(id);
break;
case BreakpointInserted: