Skip to content
Snippets Groups Projects
Commit 4d9900a1 authored by hjk's avatar hjk
Browse files

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

warnings
parent 252b03b7
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment