forked from qt-creator/qt-creator
Debugger: Do not lookup types when accessing the type name
Return the typeId instead of triggering a type lookup when accessing the type name and no TypeData is available. Change-Id: I4d46d5356d38184d73427e5a65c3986d30520cf9 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -3261,7 +3261,7 @@ class DumperBase:
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
tdata = self.typeData()
|
||||
tdata = self.dumper.typeData.get(self.typeId)
|
||||
if tdata is None:
|
||||
return self.typeId
|
||||
return tdata.name
|
||||
|
||||
Reference in New Issue
Block a user