Commit 3621e3e3 authored by hjk's avatar hjk

debugger: implement pretty printing for D arrays (gdc compiled)

Change-Id: If8bf60dcfbb52546bc9c49ba28adddf52163321e
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 5a809353
......@@ -1787,6 +1787,17 @@ class Dumper:
#except:
# pass
# D arrays, gdc compiled.
if typeName.endswith("[]"):
n = value["length"]
base = value["ptr"]
self.putType(typeName)
self.putAddress(value.address)
self.putItemCount(n)
if self.isExpanded():
self.putArrayData(base.type.target(), base, n)
return
#warn("GENERIC STRUCT: %s" % type)
#warn("INAME: %s " % self.currentIName)
#warn("INAMES: %s " % self.expandedINames)
......
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