diff --git a/src/plugins/debugger/breakhandler.cpp b/src/plugins/debugger/breakhandler.cpp index e26b8b8c847..038bdc16d59 100644 --- a/src/plugins/debugger/breakhandler.cpp +++ b/src/plugins/debugger/breakhandler.cpp @@ -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; diff --git a/src/plugins/debugger/breakwindow.cpp b/src/plugins/debugger/breakwindow.cpp index 8067b4ab3a5..88d0e99ee59 100644 --- a/src/plugins/debugger/breakwindow.cpp +++ b/src/plugins/debugger/breakwindow.cpp @@ -70,7 +70,7 @@ class BreakpointDialog : public QDialog { Q_OBJECT public: - explicit BreakpointDialog(unsigned engineCapabilities = AllDebuggerCapabilities, QWidget *parent = 0); + explicit BreakpointDialog(unsigned engineCapabilities, QWidget *parent = 0); bool showDialog(BreakpointParameters *data); void setParameters(const BreakpointParameters &data);