Commit a85b90c7 authored by Kåre Särs's avatar Kåre Särs

Fix crash on unexpected gdb output

parent e1305cfa
......@@ -170,6 +170,10 @@ void LocalsView::addStruct(QTreeWidgetItem *parent, const QString &vString)
// Value
start = end + 3;
end = start;
if (start < 0 || start >= vString.size()) {
qDebug() << vString << start;
break;
}
if (vString[start] == QLatin1Char('{')) {
start++;
end++;
......
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