Commit 5085f0fb authored by hjk's avatar hjk
Browse files

debugger: fix some potentially infinite recursion on bad debug info

Task-number: QTCREATORBUG-2248
parent 3bbc4be5
......@@ -1171,6 +1171,9 @@ class Dumper:
qqQObjectCache[name] = False
return False
base = fields[0].type.strip_typedefs()
# Prevent infinite recursion in Qt 3.3.8
if str(base) == name:
return False
result = self.checkForQObjectBase(base)
qqQObjectCache[name] = result
return result
......
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