Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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