Skip to content

Commit

Permalink
Increase the debugger wait time to stop weirdness
Browse files Browse the repository at this point in the history
  • Loading branch information
Rupert Nash committed Apr 2, 2014
1 parent 6bbcb91 commit a4d5be9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Code/debug/OSX/MPIdebug.applescript
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a4d5be9

Please sign in to comment.