forked from qt-creator/qt-creator
Debugger: Add guard to fromNativeValue
Change-Id: I733ad57e562034d7056aa13402cd000a7a1ae8b9 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -84,6 +84,7 @@ class Dumper(DumperBase):
|
||||
self.isCdb = True
|
||||
|
||||
def fromNativeValue(self, nativeValue):
|
||||
self.check(isinstance(nativeValue, cdbext.Value))
|
||||
val = self.Value(self)
|
||||
val.name = nativeValue.name()
|
||||
val.type = self.fromNativeType(nativeValue.type())
|
||||
|
||||
Reference in New Issue
Block a user