Continued CDB breakpoint handling.

Enable temporarily stopping for setting breakpoints. Fix terminating the
debuggee in exitDebugger().
This commit is contained in:
Friedemann Kleint
2009-04-08 16:37:41 +02:00
parent 472e25025f
commit 3d55c45e2c
7 changed files with 312 additions and 141 deletions

View File

@@ -243,6 +243,14 @@ int BreakHandler::rowCount(const QModelIndex &parent) const
return parent.isValid() ? 0 : size();
}
bool BreakHandler::hasPendingBreakpoints() const
{
for (int i = size() - 1; i >= 0; i--)
if (at(i)->pending)
return true;
return false;
}
void BreakHandler::removeAt(int index)
{
BreakpointData *data = at(index);