Commit 376b1f32 authored by hjk's avatar hjk

Debugger: Make std::complex values expandable

Change-Id: Idecd15378cfe2a0026ad5b9317ee7ad791a5ff47
Task-number: QTCREATORBUG-18680
Reviewed-by: default avatarAndré Hartmann <>
parent eb4e9d9e
......@@ -46,6 +46,7 @@ def qdump__std__complex(d, value):
innerType = value.type[0]
(real, imag) = value.split('{%s}{%s}' % (,
d.putValue("(%s, %s)" % (real.display(), imag.display()))
if d.isExpanded():
with Children(d, 2, childType=innerType):
d.putSubItem("real", real)
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