Index: tools/grokdump.py |
diff --git a/tools/grokdump.py b/tools/grokdump.py |
index 59a2a48716d536af5101f479aeb0032f0b6a7179..4d33f733f596884dd500e35292a4f51828fe8874 100755 |
--- a/tools/grokdump.py |
+++ b/tools/grokdump.py |
@@ -1107,7 +1107,13 @@ class FixedArray(HeapObject): |
base_offset = self.ElementsOffset() |
for i in xrange(self.length): |
offset = base_offset + 4 * i |
- p.Print("[%08d] = %s" % (i, self.ObjectField(offset))) |
+ try: |
+ p.Print("[%08d] = %s" % (i, self.ObjectField(offset))) |
+ except TypeError: |
+ p.Dedent() |
+ p.Print("...") |
+ p.Print("}") |
+ return |
p.Dedent() |
p.Print("}") |