@@ -0,0 +1,1043 @@
+#!/usr/bin/python%0Afrom threading import Timer%0Aimport fblldbbase as fb%0Aimport fblldbobjcruntimehelpers as runtimeHelpers%0Aimport lldb%0Aimport string%0A%0A%0Adef lldbcommands():%0A  return %5B%0A    FBDelay()%0A  %5D%0A%0Aclass FBDelay(fb.FBCommand):%0A  def name(self):%0A    return 'zzz'%0A%0A  def description(self):%0A    return 'Executes specified lldb command after delay.'%0A%0A  def args(self):%0A    return %5B%0A      fb.FBCommandArgument(arg='delay in seconds', type='float', help='time to wait before executing specified command'),%0A      fb.FBCommandArgument(arg='lldb command', type='string', help='another lldb command to execute after specified delay', default='process interrupt')%0A    %5D%0A%0A  def run(self, arguments, options):%0A    lldb.debugger.SetAsync(True)%0A    lldb.debugger.HandleCommand('process continue')%0A    delay = float(arguments%5B0%5D)%0A    command = str(arguments%5B1%5D)%0A    t = Timer(delay, lambda: self.runDelayed(command))%0A    t.start()%0A%0A  def runDelayed(self, command):%0A    lldb.debugger.HandleCommand('process interrupt')%0A    lldb.debugger.HandleCommand(command)%0A

Add delay command