From a4d5be9087723991d4d1c78864bd2239103c6b6f Mon Sep 17 00:00:00 2001 From: Rupert Nash Date: Wed, 2 Apr 2014 17:43:11 +0100 Subject: [PATCH] Increase the debugger wait time to stop weirdness --- Code/debug/OSX/MPIdebug.applescript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Code/debug/OSX/MPIdebug.applescript b/Code/debug/OSX/MPIdebug.applescript index 3d3def25d..83dd59c1b 100644 --- a/Code/debug/OSX/MPIdebug.applescript +++ b/Code/debug/OSX/MPIdebug.applescript @@ -51,6 +51,7 @@ on CreateTabs(pIds) set newTab to do script set wId to (id of first window whose first tab is newTab) else + delay 1 tell application "System Events" to tell process "Terminal" to keystroke "t" using command down set newTab to do script in window id wId end if @@ -73,7 +74,7 @@ on lldbRun(binary, pIds) set curTab to item i of tabList set cmd to debugger & " -f " & binary & " -p " & pId set newTab to do script cmd in curTab - delay 0.5 + delay 1 do script ("frame select -r 3") in curTab do script ("expr amWaiting = 0") in curTab do script ("breakpoint set -F hemelb::debug::ActiveDebugger::BreakHere()") in curTab