Commit d6c870e9 authored by hjk's avatar hjk
Browse files

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

main/throw/catch
parent 8735f0d1
......@@ -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;
......
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment