Commit 25919d90 authored by Robert Loehning's avatar Robert Loehning
Browse files

Squish: Don't crash when missing breakpoint



Change-Id: I8eba72baa043bebc8618fbfe51fa31d7215165e7
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent be94766d
......@@ -141,9 +141,12 @@ def doSimpleDebugging(kitCount, currentKit, currentConfigName, pressContinueCoun
verifyBreakPoint(expectedBPOrder[i])
else:
test.fail('%s' % str(statusLabel.text))
try:
contDbg = waitForObject(":*Qt Creator.Continue_Core::Internal::FancyToolButton", 3000)
test.log("Continuing...")
clickButton(contDbg)
except LookupError:
test.fail("Debugger did not stop at breakpoint")
waitFor("str(statusLabel.text) == 'Running.'", 5000)
timedOut = not waitFor("str(statusLabel.text) in ['Running.', 'Debugger finished.']", 30000)
if timedOut:
......
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