Slide 37
Slide 37 text
import_framework.py
#!/usr/bin/env python
import lldb
import time
import threading
def import_framework():
for framework in [ 'Foundation', 'UIKit' ]:
lldb.debugger.HandleCommand('p @import ' + framework)
def __lldb_init_module(debugger,internal_dict):
threading.Timer(3, import_framework).start()
time.sleep(5)
print"load ok"
.lldbinit
command script import import_framework.py