forked from qt-creator/qt-creator
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 <eike.ziller@digia.com>
This commit is contained in:
@@ -1306,7 +1306,7 @@ class Dumper(DumperBase):
|
|||||||
% binascii.hexlify(msg))
|
% binascii.hexlify(msg))
|
||||||
elif type == lldb.SBProcess.eBroadcastBitSTDERR:
|
elif type == lldb.SBProcess.eBroadcastBitSTDERR:
|
||||||
msg = self.process.GetSTDERR(1024)
|
msg = self.process.GetSTDERR(1024)
|
||||||
self.report('output={channel="stdout",data="%s"}'
|
self.report('output={channel="stderr",data="%s"}'
|
||||||
% binascii.hexlify(msg))
|
% binascii.hexlify(msg))
|
||||||
elif type == lldb.SBProcess.eBroadcastBitProfileData:
|
elif type == lldb.SBProcess.eBroadcastBitProfileData:
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user