debugger: show more detail for "special" breakpoints in breakwindow

main/throw/catch
This commit is contained in:
hjk
2011-02-14 13:56:18 +01:00
parent 8735f0d1bb
commit d6c870e90e
2 changed files with 7 additions and 1 deletions

View File

@@ -458,6 +458,12 @@ QVariant BreakHandler::data(const QModelIndex &mi, int role) const
return response.functionName;
if (!data.functionName.isEmpty())
return data.functionName;
if (data.type == BreakpointAtMain)
return tr("Breakpoint at \"main\"");
if (data.type == BreakpointAtCatch)
return tr("Break when catching exceptions");
if (data.type == BreakpointAtThrow)
return tr("Break when throwing exceptions");
return empty;
}
break;