1def bar_function(debugger, args, result, dict): 2 global UtilityModule 3 print(UtilityModule.barutil_function("bar told me " + args), file=result) 4 return None 5 6 7def __lldb_init_module(debugger, session_dict): 8 global UtilityModule 9 UtilityModule = __import__("barutil") 10 debugger.HandleCommand("command script add -f bar.bar_function barothercmd") 11 return None 12