From a57ab5d44eea221523f3fe84b6bb16eaf85a139f Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 5 Nov 2013 11:35:25 +0100 Subject: [PATCH] Debugger: Distinguish stdout and stderr in LLDB At least theoretically, on our side. Practically the output seems to arrive all with ldb.SBProcess.eBroadcastBitSTDOUT from LLDB. Change-Id: I61cfb1e01193c57e06aebeaa8defa11809e24c50 Reviewed-by: Eike Ziller --- share/qtcreator/debugger/lldbbridge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/qtcreator/debugger/lldbbridge.py b/share/qtcreator/debugger/lldbbridge.py index cfb8551d013..5aafbb831c5 100644 --- a/share/qtcreator/debugger/lldbbridge.py +++ b/share/qtcreator/debugger/lldbbridge.py @@ -1306,7 +1306,7 @@ class Dumper(DumperBase): % binascii.hexlify(msg)) elif type == lldb.SBProcess.eBroadcastBitSTDERR: msg = self.process.GetSTDERR(1024) - self.report('output={channel="stdout",data="%s"}' + self.report('output={channel="stderr",data="%s"}' % binascii.hexlify(msg)) elif type == lldb.SBProcess.eBroadcastBitProfileData: pass