forked from qt-creator/qt-creator
Squish: Further adaption to UI changes of debugger
Change-Id: I0e28d2f929c7a69aa61313e3e5473143dc88e5b1 Reviewed-by: Robert Loehning <robert.loehning@qt.io>
This commit is contained in:
@@ -51,13 +51,14 @@ def handleDebuggerWarnings(config, isMsvcBuild=False):
|
||||
clickButton("{text='OK' type='QPushButton' unnamed='1' visible='1' window=%s}" % msgBox)
|
||||
|
||||
def takeDebuggerLog():
|
||||
invokeMenuItem("Window", "Views", "Debugger Log")
|
||||
debuggerLogWindow = waitForObject("{container=':DebugModeWidget.Debugger Log_QDockWidget' type='Debugger::Internal::CombinedPane' unnamed='1' visible='1'}")
|
||||
invokeMenuItem("Window", "Views", "Global Debugger Log")
|
||||
debuggerLogWindow = waitForObject("{container=':DebugModeWidget.Debugger Log_QDockWidget' "
|
||||
"type='Debugger::Internal::DebuggerPane' unnamed='1' visible='1'}")
|
||||
debuggerLog = str(debuggerLogWindow.plainText)
|
||||
mouseClick(debuggerLogWindow, 5, 5, 0, Qt.LeftButton)
|
||||
invokeContextMenuItem(debuggerLogWindow, "Clear Contents")
|
||||
waitFor("str(debuggerLogWindow.plainText)==''", 5000)
|
||||
invokeMenuItem("Window", "Views", "Debugger Log")
|
||||
invokeMenuItem("Window", "Views", "Global Debugger Log")
|
||||
return debuggerLog
|
||||
|
||||
# function to set breakpoints for the current project
|
||||
|
||||
Reference in New Issue
Block a user