forked from qt-creator/qt-creator
Dumper: Adapt to Id that moved from Core to Utils
Change-Id: I6437d813234dc22923a313d540f115e070edeba7 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
11a7ccb865
commit
e3312205ed
@@ -514,7 +514,10 @@ class Dumper(DumperBase):
|
||||
raise Exception("cdb does not support calling functions")
|
||||
|
||||
def nameForCoreId(self, id):
|
||||
idName = cdbext.call('Cored4!Core::nameForId(%d)' % id)
|
||||
for dll in ['Utilsd4', 'Utils4']:
|
||||
idName = cdbext.call('%s!Utils::nameForId(%d)' % (dll, id))
|
||||
if idName is not None:
|
||||
break
|
||||
return self.fromNativeValue(idName)
|
||||
|
||||
def putCallItem(self, name, rettype, value, func, *args):
|
||||
|
||||
Reference in New Issue
Block a user