forked from qt-creator/qt-creator
Debugger: Fix some fallback in type lookup
Just in case. I can't trigger the codepath anymore. Change-Id: Ia1cecca7a9628b36128fa6efbb2f6ffbc4bef4b2 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -1742,7 +1742,7 @@ class Dumper(DumperBase):
|
||||
# See http://sourceware.org/bugzilla/show_bug.cgi?id=11912
|
||||
exp = "(class '%s'*)0" % ts
|
||||
try:
|
||||
type = parseAndEvaluate(exp).type.target()
|
||||
type = self.parseAndEvaluate(exp).type.target()
|
||||
except:
|
||||
# Can throw "RuntimeError: No type named class Foo."
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user