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;
{
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);