Lldb 在连接的时候出现的一个问题

ipad ip = 192.168.1.109

已经在ipad上 启动了 debugserver *:1234 -a “SpringBoard” 并显示已经在监听

在mac上 lldb

process connect connect:192.168.1.109:1234

显示unsupported connection URL:‘connect 192.168.1.109:1234’

这是什么鬼 - - …

不支持连接到URL。。。。。。。。。。。

是process connect **connect://**IP:Port吧?是你没认真看书的鬼

。。。你确定我输入的不是IP:port?

发现少了2个//…

warning: unable to find and load segment named ‘__DATA’ at 0x3bcf8000 in ‘’ in macosx dynamic loader plug-in.
warning: unable to find and load segment named ‘__LINKEDIT’ at 0x3cfb6000 in ‘’ in macosx dynamic loader plug-in.
warning: unable to find and load segment named ‘__TEXT’ at 0x3835b000 in ‘’ in macosx dynamic loader plug-in.
warning: unable to find and load segment named ‘__DATA’ at 0x3cb1a000 in ‘’ in macosx dynamic loader plug-in.
warning: unable to find and load segment named ‘__LINKEDIT’ at 0x3cfb6000 in ‘’ in macosx dynamic loader plug-in.
加载完这些 连接直接就断开了 这个是什么原因?? 请教下。


process connect connect://IP:Port
前运行一次
platform select remote-ios
试试

输入后显示(lldb) platform select remote-ios
Platform: remote-ios
Connected: no
SDK Path: “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/8.2 (12D508)”
SDK Roots: [ 0] “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2”
SDK Roots: [ 1] “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.3”
SDK Roots: [ 2] “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0”
SDK Roots: [ 3] “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.1”
SDK Roots: [ 4] “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/6.0”
SDK Roots: [ 5] “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/6.1”
SDK Roots: [ 6] “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/7.0”
SDK Roots: [ 7] “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/7.1”
SDK Roots: [ 8] “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/8.0”
SDK Roots: [ 9] “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/8.1”
SDK Roots: [10] “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/8.2 (12D508)”
SDK Roots: [11] “/Users/inspires/Library/Developer/Xcode/iOS DeviceSupport/6.0.1 (10A523)”
SDK Roots: [12] “/Users/inspires/Library/Developer/Xcode/iOS DeviceSupport/7.0.6 (11B651)”
SDK Roots: [13] “/Users/inspires/Library/Developer/Xcode/iOS DeviceSupport/7.1.1 (11D201)”

然后我继续connect 还是显示那些 不能加载区段。

然后debugserver 连接断开

我的IPAD的版本号 对应的上面显示的SDK Root[12]

在线等答案啊- - 。。

用USB来ssh试试看?

USB 连接速度 确实快了不少!再请教个问题, 为何我咋调试MobileNote的时候 我 debugserver命令是 debugserver -x backboard *:1234 /application / MobileNote.app/Mobilenote

lldb成功连接后 ni 单步步入,走到dyldbootstrap::start时候 继续ni 然后NI 后也就是显示invalid thread , 过了一会程序直接启动起来了,而lldb则并没有显示断在真正的MobileNote的第一条指令上
(lldb) ni
error: invalid thread
2015-05-05 10:44:21.865 MobileNotes[591:60b] Splitview controller <NotesMainViewController: 0x155f7240> is expected to have a view controller at index 0 before it’s used!
2015-05-05 10:44:21.867 MobileNotes[591:60b] Splitview controller <NotesMainViewController: 0x155f7240> is expected to have a view controller at index 1 before it’s used!
请问这个是什么原因?