@sanking wrote:
按照书上p98页上
连接上lldb, 断点打好后. 想按home键触发断点,但是手机卡住,无法操作.请问是什么原因手机卡住?debugserver:
sanking:~ root# debugserver *:1234 -a "SpringBoard" debugserver-@(#)PROGRAM:debugserver PROJECT:debugserver-320.2.89 for armv7. Attaching to process SpringBoard... Listening to port 1234 for a connection from *... Waiting for debugger instructions for process 0.
lldb:
(lldb) process connect connect://192.168.xxx.31:1234 error: unable to find section for section 26 error: unable to find section for section 27 error: unable to find section for section 26 error: unable to find section for section 26 error: unable to find section for section 17 error: unable to find section for section 17 error: unable to find section for section 18 Process 61315 stopped * thread #1: tid = 0xef83, 0x3469149c libsystem_kernel.dylib`mach_msg_trap + 20, stop reason = signal SIGSTOP frame #0: 0x3469149c libsystem_kernel.dylib`mach_msg_trap + 20 libsystem_kernel.dylib`mach_msg_trap + 20: -> 0x3469149c: andeq r0, r0, r0 0x346914a0: andeq r0, r0, r0 libsystem_kernel.dylib`mach_msg_overwrite_trap: 0x346914a4: andeq r0, r0, r0 0x346914a8: andeq r0, r0, r0 (lldb) image list -o -f [ 0] 0x000a6000 /System/Library/CoreServices/SpringBoard.app/SpringBoard(0x00000000000aa000) ... [407] 0x00009000 /Users/sanking/Library/Developer/Xcode/iOS DeviceSupport/8.4 (12H143)/Symbols/usr/lib/dyld (lldb) br s -a 0xa6000+0x156e8 Breakpoint 1: where = SpringBoard`___lldb_unnamed_function300$$SpringBoard, address = 0x000bb6e8
Posts: 1
Participants: 1