Commit e1ac5b52 authored by hjk's avatar hjk
Browse files

debugger: fix fancy QImage display

Task-number: QTCREATORBUG-2123 QTCREATORBUG-2122
parent fccd4d5e
...@@ -190,7 +190,9 @@ def catchCliOutput(command): ...@@ -190,7 +190,9 @@ def catchCliOutput(command):
gdb.execute("set logging off") gdb.execute("set logging off")
gdb.execute("set logging redirect off") gdb.execute("set logging redirect off")
if len(msg): if len(msg):
warn("CLI ERROR: %s " % msg) # Having that might confuse result handlers in the gdbengine.
#warn("CLI ERROR: %s " % msg)
return "CLI ERROR: %s " % msg
temp = open(filename, "r") temp = open(filename, "r")
lines = [] lines = []
for line in temp: for line in temp:
......
...@@ -424,8 +424,8 @@ def qdump__QList(d, item): ...@@ -424,8 +424,8 @@ def qdump__QList(d, item):
d.putItem(Item(pp, item.iname, i)) d.putItem(Item(pp, item.iname, i))
p += 1 p += 1
def qdump__QImage(): def qform__QImage():
return "Normal,Displayed"; return "Normal,Displayed"
def qdump__QImage(d, item): def qdump__QImage(d, item):
painters = item.value["painters"] painters = item.value["painters"]
...@@ -1518,7 +1518,7 @@ def qdump__QStack(d, item): ...@@ -1518,7 +1518,7 @@ def qdump__QStack(d, item):
qdump__QVector(d, item) qdump__QVector(d, item)
def qform__QString(): def qform__QString():
return "Inline,Separate Window"; return "Inline,Separate Window"
def qdump__QString(d, item): def qdump__QString(d, item):
d.putStringValue(item.value) d.putStringValue(item.value)
......
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