Debugger: List break on catch/throw as such and map names in engine.

Introduce special setting 'Stop on exception' for CDB.
Reviewed-by: hjk
This commit is contained in:
Friedemann Kleint
2010-09-28 16:42:21 +02:00
parent 2fff849ae1
commit 8d6f67f594
12 changed files with 74 additions and 15 deletions

View File

@@ -334,9 +334,9 @@ void BreakWindow::contextMenuEvent(QContextMenuEvent *ev)
else if (act == addBreakpointAction)
addBreakpoint();
else if (act == breakAtThrowAction)
setModelData(RequestBreakByFunctionRole, "__cxa_throw");
setModelData(RequestBreakByFunctionRole, QLatin1String(BreakpointData::throwFunction));
else if (act == breakAtCatchAction)
setModelData(RequestBreakByFunctionRole, "__cxa_begin_catch");
setModelData(RequestBreakByFunctionRole, QLatin1String(BreakpointData::catchFunction));
}
void BreakWindow::setBreakpointsEnabled(const QModelIndexList &list, bool enabled)