forked from qt-creator/qt-creator
Debugger: Fix regression in pointer display
'None' is not in a range... Change-Id: I2df534556ab811dbd285d94ec14021d8597fe226 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -644,7 +644,7 @@ class DumperBase:
|
||||
self.putNumChild(0)
|
||||
return True
|
||||
|
||||
if format >= 6 and format <= 9:
|
||||
if not format is None and format >= 6 and format <= 9:
|
||||
# Explicitly requested formatting as array of n items.
|
||||
n = (10, 100, 1000, 10000)[format - 6]
|
||||
self.putType(typeName)
|
||||
|
Reference in New Issue
Block a user