遇到个问题。请教一下大家。。谢谢。
我的是 iphone5s , 已经越狱。。 想lldb远程调试app。 例如。
1 ssh 远程
helloworld:/usr/bin root# /usr/bin/dbgserver *:1234 -a “YoukuiPhone”
debugserver-310.2 for arm64.
Attaching to process YoukuiPhone…
Listening to port 1234 for a connection from *…
Waiting for debugger instructions for process 0.
2 mac本地
(lldb) platform select remote-ios
Platform: remote-ios
Connected: no
SDK Path: “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/8.1 (12B411)”
SDK Roots: 0] "/Applica
。。。。。。。。。
(lldb) process connect connect://192.168.1.100:1234
warning: unable to find and load segment named ‘__LINKEDIT’ at 0x11ac000 in ‘’ in macosx dynamic loader plug-in.
warning: unable to find and load segment named ‘__TEXT’ at 0x4000 in ‘’ in macosx dynamic loader plug-in.
warning: unable to find and load segment named ‘__DATA’ at 0xb78000 in ‘’ in macosx dynamic loader plug-in.
warning: unable to find and load segment named ‘__LINKEDIT’ at 0x11ac000 in ‘’ in macosx dynamic loader plug-in.
warning: unable to find and load segment named ‘__TEXT’ at 0x133a000 in ‘’ in macosx dynamic loader plug-in.
warning: unable to find and load segment named ‘__DATA’ at 0x133b000 in ‘’ in macosx dynamic loader plug-in.
warning: unable to find and load segment named ‘__LINKEDIT’ at 0x133c000 in ‘’ in macosx dynamic loader plug-in.
warning: unable to find and load segment named ‘__TEXT’ at 0x31212000 in ‘’ in macosx dynamic loader plug-in.
warning: unable to find and load segment named ‘__DATA’ at 0x3a1a6000 in ‘’ in macosx dynamic loader plug-in.
warning: unable to find and load segment named ‘__LINKEDIT’ at 0x3b9e0000 in ‘’ in macosx dynamic loader plug-in.
warning: unable to find and load segment named ‘__TEXT’ at 0x17e1000 in ‘’ in macosx dynamic loader plug-in.
warning: unable to find and load segment named ‘__TEXT’ at 0x390d6000 in ‘’ in macosx dynamic loader plug-in.
warning: unable to find and load segment named ‘__DATA’ at 0x43e7e000 in ‘’ in macosx dynamic loader plug-in.
Process 638 stopped
- thread #1: tid = 0x82f5, 0x39c9aa50, stop reason = signal SIGSTOP
frame #0: 0x39c9aa50
error: read memory from 0x39c9aa50 failed
(lldb) c
Process 638 resuming
Process 638 exited with status = -1 (0xffffffff) lost connection
然后进程就退出了。试了好几个app。都是一样的情况。 纠结。