Commit 2813aed0 authored by hjk's avatar hjk

Debugger: Add a QArrayData dumper

Helpful when inspecting staticMetaObjects.

Change-Id: I32fa0797625a675a7bad7f470ed51232734de826
Reviewed-by: Christian Stenger's avatarChristian Stenger <>
parent 03ad75ef
......@@ -72,7 +72,7 @@ def qdump__QByteArray(d, value):
if d.isExpanded():
d.putArrayData(data, size, d.charType())
def qdump__QByteArrayData(d, value):
def qdump__QArrayData(d, value):
data, size, alloc = d.byteArrayDataHelper(d.addressOf(value))
d.check(alloc == 0 or (0 <= size and size <= alloc and alloc <= 100000000))
d.putValue(d.readMemory(data, size), "latin1")
......@@ -82,6 +82,9 @@ def qdump__QByteArrayData(d, value):
d.putIntItem("size", size)
d.putIntItem("alloc", alloc)
def qdump__QByteArrayData(d, value):
qdump__QArrayData(d, value)
def qdump__QBitArray(d, value):
data, basize, alloc = d.byteArrayDataHelper(d.extractPointer(value["d"]))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment