forked from qt-creator/qt-creator
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user