Commit 4d9900a1 authored by hjk's avatar hjk

debugger: more robust parsing of gdb cli output in the presence of spurious

warnings
parent 252b03b7
......@@ -340,6 +340,14 @@ def listOfLocals(varList):
except RuntimeError:
pass
#continue
except:
# Something breaking the list, like intermediate gdb warnings
# like 'Warning: can't find linker symbol for virtual table for
# `std::less<char const*>' value\n\nwarning: found
# `myns::QHashData::shared_null' instead [...]
# that break subsequent parsing. Chicken out and take the
# next "usable" line.
continue
items.append(item)
return items
......
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