forked from qt-creator/qt-creator
Debugger: Don't spam app output
Only errors should be displayed in the App output. Everything else is just noise. To keep the information for debugging purpose we log it to the Debugger Output View instead. Fixes: QTCREATORBUG-27160 Change-Id: I37301edd2f6638e2b4152d1bf7b89a40c9c3c0af Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -755,15 +755,15 @@ class Dumper(DumperBase):
|
||||
qtVersionAndNamespace = None
|
||||
try:
|
||||
qtVersionAndNamespace = self.fetchQtVersionAndNamespace()
|
||||
DumperBase.warn("Detected Qt Version: 0x%0x (namespace='%s')" %
|
||||
(qtVersionAndNamespace[1], qtVersionAndNamespace[0] or "no namespace"))
|
||||
self.report("Detected Qt Version: 0x%0x (namespace='%s')" %
|
||||
(qtVersionAndNamespace[1], qtVersionAndNamespace[0] or "no namespace"))
|
||||
except Exception as e:
|
||||
DumperBase.warn('[lldb] Error detecting Qt version: %s' % e)
|
||||
|
||||
try:
|
||||
self.fetchInternalFunctions()
|
||||
DumperBase.warn('Found function QObject::property: 0x%0x' % self.qtPropertyFunc)
|
||||
DumperBase.warn('Found function QObject::customEvent: 0x%0x' % self.qtCustomEventFunc)
|
||||
self.report('Found function QObject::property: 0x%0x' % self.qtPropertyFunc)
|
||||
self.report('Found function QObject::customEvent: 0x%0x' % self.qtCustomEventFunc)
|
||||
except Exception as e:
|
||||
DumperBase.warn('[lldb] Error fetching internal Qt functions: %s' % e)
|
||||
|
||||
|
Reference in New Issue
Block a user