def run()

in commands/FBFindCommands.py [0:0]


    def run(self, arguments, options):
        parameterExpr = objc.functionPreambleExpressionForObjectParameterAtIndex(0)
        breakpoint = lldb.debugger.GetSelectedTarget().BreakpointCreateByName(
            "-[UIApplication sendEvent:]"
        )
        breakpoint.SetCondition(
            "(int)["
            + parameterExpr
            + " type] == 0 && (int)[[["
            + parameterExpr
            + " allTouches] anyObject] phase] == 0"
        )
        breakpoint.SetOneShot(True)

        callback_name = taplog_callback.__qualname__
        # Import the callback so LLDB can see it
        lldb.debugger.HandleCommand(
            "script from %s import %s" % (__name__, callback_name)
        )
        breakpoint.SetScriptCallbackFunction(callback_name)

        lldb.debugger.SetAsync(True)
        lldb.debugger.HandleCommand("continue")