Commit 7528b3b0 authored by hjk's avatar hjk
Browse files

debugger: fix editing of breakpoint conditions

parent 1dab2383
......@@ -298,6 +298,15 @@ QVariant BreakHandler::data(const QModelIndex &mi, int role) const
if (role == BreakpointFunctionNameRole)
return data->funcName;
if (role == BreakpointConditionRole)
return data->condition;
if (role == BreakpointIgnoreCountRole)
return data->ignoreCount;
if (role == BreakpointThreadSpecRole)
return data->threadSpec;
switch (mi.column()) {
case 0:
if (role == Qt::DisplayRole) {
......
......@@ -1837,8 +1837,20 @@ void testTypedef()
++t2;
};
void testConditional(const QString &str)
{
//
QString res = str;
res += "x";
res += "x";
res += "x";
}
void testStuff()
{
testConditional("foo");
testConditional("bar");
testConditional("zzz");
Foo *f1 = new Foo(1);
X *x = new X();
Foo *f2 = x;
......
Markdown is supported
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